diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-21 15:53:16 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-21 15:55:42 -0700 |
commit | e9ba8d7dfe1754cb48b1efeb6eb9572bd6388a4e (patch) | |
tree | 3c3e2009989b1a094380885781172ef1563fdd96 | |
parent | 569eeebd307710b3de0a0da60a85f123dd9cf0c5 (diff) | |
download | binaryen-e9ba8d7dfe1754cb48b1efeb6eb9572bd6388a4e.tar.gz binaryen-e9ba8d7dfe1754cb48b1efeb6eb9572bd6388a4e.tar.bz2 binaryen-e9ba8d7dfe1754cb48b1efeb6eb9572bd6388a4e.zip |
fix a reinterpret opcode
-rw-r--r-- | bin/wasm.js | 2 | ||||
-rw-r--r-- | src/wasm-binary.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/wasm.js b/bin/wasm.js index 8d844b38a..ea50d9dde 100644 --- a/bin/wasm.js +++ b/bin/wasm.js @@ -38646,7 +38646,7 @@ function __ZN4wasm17WasmBinaryBuilder14maybeVisitImplEPNS_5UnaryEh(i4, i3, i2) { i5 = 49; break; } - case 254: + case 180: { HEAP32[i3 + 8 >> 2] = 25; HEAP32[i3 + 4 >> 2] = 3; diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 50fcc6238..8e9faa15a 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -361,12 +361,12 @@ enum ASTNodes { F64UConvertI64 = 0xb1, F64ConvertF32 = 0xb2, F64ReinterpretI64 = 0xb3, + I32ReinterpretF32 = 0xb4, I64ReinterpretF64 = 0xb5, I32RotR = 0xb6, I32RotL = 0xb7, I64RotR = 0xb8, I64RotL = 0xb9, - I32ReinterpretF32 = 0xfe, // XXX not in v8 spec doc I32LoadMem8S = 0x20, I32LoadMem8U = 0x21, |