From a78bd60bc68993c746a9f236d01558e04b6765bd Mon Sep 17 00:00:00 2001 From: jgravelle-google Date: Tue, 4 Oct 2016 11:27:25 -0700 Subject: Update i64 stores for 0xc (#731) * Update i64 stores for 0xc * Update autogenerated LLVM tests * Update known torture test failures * Add i64.store32 test to unit.wast --- src/passes/Print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index e5487d58e..590f9bce2 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -299,7 +299,7 @@ struct PrintSExpression : public Visitor { void visitStore(Store *curr) { o << '('; prepareColor(o) << printWasmType(curr->valueType) << ".store"; - if (curr->bytes < 4 || (curr->type == i64 && curr->bytes < 8)) { + if (curr->bytes < 4 || (curr->valueType == i64 && curr->bytes < 8)) { if (curr->bytes == 1) { o << '8'; } else if (curr->bytes == 2) { -- cgit v1.2.3