summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-04 09:42:22 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-04 09:42:22 -0800
commite28c0efc48adb5f49f4ef131681ddf55cf3b8de5 (patch)
tree0e220c174f3b9354712a502147e910a51aa71349 /src
parenta99e4f20a773aa7d6698e126ff7f39290db54675 (diff)
downloadbinaryen-e28c0efc48adb5f49f4ef131681ddf55cf3b8de5.tar.gz
binaryen-e28c0efc48adb5f49f4ef131681ddf55cf3b8de5.tar.bz2
binaryen-e28c0efc48adb5f49f4ef131681ddf55cf3b8de5.zip
fix compare inputType
Diffstat (limited to 'src')
-rw-r--r--src/wasm-s-parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index c04cbc545..a14809469 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -402,7 +402,7 @@ private:
ret->op = op;
ret->left = parseExpression(s[1]);
ret->right = parseExpression(s[2]);
- ret->type = type;
+ ret->inputType = type;
return ret;
}