summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-30 17:02:56 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-30 17:02:56 -0700
commitb8b69e896b18efbe553bf1c01e4eb3acbfb909f1 (patch)
tree9f52ca49356d939e40a2c4e3809ed309d5d5dc4e /src/wasm.h
parentdce3791b402cc1e49da000cfe918bb21e81b4a6a (diff)
downloadbinaryen-b8b69e896b18efbe553bf1c01e4eb3acbfb909f1.tar.gz
binaryen-b8b69e896b18efbe553bf1c01e4eb3acbfb909f1.tar.bz2
binaryen-b8b69e896b18efbe553bf1c01e4eb3acbfb909f1.zip
fix logical not
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 2e383d83b..7acd65ddd 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -540,6 +540,7 @@ public:
Const* set(Literal value_) {
value = value_;
+ type = value.type;
return this;
}