Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 948598697cf47c38bad865f208579ac298f1b5a1..63038fcb3f80f25e0c0fdaa38ce0c13d1b601ca3 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -498,6 +498,9 @@ Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, |
op = m->Int64Add(); |
break; |
// kExprI64Sub: |
+ case wasm::kExprI64Sub: |
+ op = m->Int64Sub(); |
+ break; |
// kExprI64Mul: |
// kExprI64DivS: |
case wasm::kExprI64DivS: |
@@ -570,9 +573,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::kExprI64Sub: |
- op = m->Int64Sub(); |
- break; |
case wasm::kExprI64Mul: |
op = m->Int64Mul(); |
break; |