diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2018-12-18 11:40:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 11:40:00 -0800 |
commit | af0ff220fd5bd4aa05b2472f3d6e98e08175f517 (patch) | |
tree | fd2de5366bb45cd20e7a2343a49639b335437224 /src/passes/Print.cpp | |
parent | 6974dbb4a6184c88792557fb5dfb59265a6c4a56 (diff) | |
download | binaryen-af0ff220fd5bd4aa05b2472f3d6e98e08175f517.tar.gz binaryen-af0ff220fd5bd4aa05b2472f3d6e98e08175f517.tar.bz2 binaryen-af0ff220fd5bd4aa05b2472f3d6e98e08175f517.zip |
Rename `idx` to `index` in SIMD code for consistency (#1836)
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<PrintExpressionContents> { 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<PrintExpressionContents> { 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); |