Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index ab90efd4789cacd304823e3aacc4aeb8f85b52fb..e86b07b6e8e9a263fbaf8c4ead34b8b261663a9b 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -493,6 +493,9 @@ Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, |
// todo(ahaas): I added a list of missing instructions here to make merging |
// easier when I do them one by one. |
// kExprI64Add: |
+ case wasm::kExprI64Add: |
+ op = m->Int64Add(); |
+ break; |
// kExprI64Sub: |
// kExprI64Mul: |
// kExprI64DivS: |
@@ -554,9 +557,6 @@ Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, |
#if WASM_64 |
// Opcodes only supported on 64-bit platforms. |
// TODO(titzer): query the machine operator builder here instead of #ifdef. |
- case wasm::kExprI64Add: |
- op = m->Int64Add(); |
- break; |
case wasm::kExprI64Sub: |
op = m->Int64Sub(); |
break; |