Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 8fed3c550e59e5bf11adacc196c2583ceb0a92cf..d69846ffdbe5a9043af93735790c4d4c50fbb4a0 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -511,6 +511,8 @@ Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, |
op = m->Word64Equal(); |
break; |
// kExprI64Ne: |
+ case wasm::kExprI64Ne: |
+ return Invert(Binop(wasm::kExprI64Eq, left, right)); |
// kExprI64LtS: |
// kExprI64LeS: |
// kExprI64LtU: |
@@ -598,8 +600,6 @@ Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, |
case wasm::kExprI64ShrS: |
op = m->Word64Sar(); |
break; |
- case wasm::kExprI64Ne: |
- return Invert(Binop(wasm::kExprI64Eq, left, right)); |
case wasm::kExprI64LtS: |
op = m->Int64LessThan(); |
break; |