summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjgravelle-google <jgravelle@google.com>2016-10-04 11:27:25 -0700
committerGitHub <noreply@github.com>2016-10-04 11:27:25 -0700
commita78bd60bc68993c746a9f236d01558e04b6765bd (patch)
treea72a50c27fef3fe785051a48bb685b4a12cc0d42 /src
parentbe02365a017f93febcae641705945e9df55ff907 (diff)
downloadbinaryen-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.cpp2
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) {