From af0ff220fd5bd4aa05b2472f3d6e98e08175f517 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 18 Dec 2018 11:40:00 -0800 Subject: Rename `idx` to `index` in SIMD code for consistency (#1836) --- src/passes/Print.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/passes/Print.cpp') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 64dd0deae..2cfa5092c 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -246,7 +246,7 @@ struct PrintExpressionContents : public Visitor { case ExtractLaneVecF32x4: o << "f32x4.extract_lane"; break; case ExtractLaneVecF64x2: o << "f64x2.extract_lane"; break; } - o << " " << int(curr->idx); + o << " " << int(curr->index); } void visitSIMDReplace(SIMDReplace* curr) { prepareColor(o); @@ -258,7 +258,7 @@ struct PrintExpressionContents : public Visitor { case ReplaceLaneVecF32x4: o << "f32x4.replace_lane"; break; case ReplaceLaneVecF64x2: o << "f64x2.replace_lane"; break; } - o << " " << int(curr->idx); + o << " " << int(curr->index); } void visitSIMDShuffle(SIMDShuffle* curr) { prepareColor(o); -- cgit v1.2.3