summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-07 21:25:14 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-03-07 21:25:14 -0800
commitbc74a6478aa229abf6dbf7269e67aeeb570e7554 (patch)
treef24fd1e1ed75184abd5d2710a93a4b9a889a3d94 /src/s2wasm.h
parent8efa11fbb9ff8cfd8bacc9d16642e13e2bbac9b4 (diff)
parent9407880de631fb4e9f8caa0c746e4d39f40be91d (diff)
downloadbinaryen-bc74a6478aa229abf6dbf7269e67aeeb570e7554.tar.gz
binaryen-bc74a6478aa229abf6dbf7269e67aeeb570e7554.tar.bz2
binaryen-bc74a6478aa229abf6dbf7269e67aeeb570e7554.zip
Merge pull request #231 from WebAssembly/spec-updates
Spec updates
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 2de6cd60f..16b1125e8 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -993,7 +993,7 @@ class S2WasmBuilder {
addToBlock(curr);
} else if (match("tableswitch")) {
auto curr = allocator.alloc<Switch>();
- curr->value = getInput();
+ curr->condition = getInput();
skipComma();
curr->default_ = getBranchLabel(getInt());
while (skipComma()) {