Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 73a140a9ced509fe0c22811a2e0644bd58dc8d16..f52d950538a97d3961143dcb2b19bd67ceec21f6 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -831,6 +831,9 @@ Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input) { |
break; |
// kExprF64ReinterpretI64: |
// kExprI64ReinterpretF64: |
+ case wasm::kExprI64ReinterpretF64: |
+ op = m->BitcastFloat64ToInt64(); |
+ break; |
// kExprI64Clz: |
// kExprI64Ctz: |
// kExprI64Popcnt: |
@@ -897,9 +900,6 @@ Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input) { |
case wasm::kExprF64ReinterpretI64: |
op = m->BitcastInt64ToFloat64(); |
break; |
- case wasm::kExprI64ReinterpretF64: |
- op = m->BitcastFloat64ToInt64(); |
- break; |
case wasm::kExprI64Clz: |
op = m->Word64Clz(); |
break; |