diff options
author | jgravelle-google <jgravelle@google.com> | 2016-10-04 11:27:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-04 11:27:25 -0700 |
commit | a78bd60bc68993c746a9f236d01558e04b6765bd (patch) | |
tree | a72a50c27fef3fe785051a48bb685b4a12cc0d42 /src | |
parent | be02365a017f93febcae641705945e9df55ff907 (diff) | |
download | binaryen-a78bd60bc68993c746a9f236d01558e04b6765bd.tar.gz binaryen-a78bd60bc68993c746a9f236d01558e04b6765bd.tar.bz2 binaryen-a78bd60bc68993c746a9f236d01558e04b6765bd.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/passes/Print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<PrintSExpression> { 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) { |