Index: src/compiler/mips64/instruction-selector-mips64.cc |
diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc |
index 6c93f939a421208c3e0d4b3b14efbd6bfc85bdf8..56188f1817ecf5c2771a3e9d49f849de76620c87 100644 |
--- a/src/compiler/mips64/instruction-selector-mips64.cc |
+++ b/src/compiler/mips64/instruction-selector-mips64.cc |
@@ -1560,6 +1560,9 @@ void EmitWordCompareZero(InstructionSelector* selector, Node* value, |
if (cont->IsBranch()) { |
selector->Emit(opcode, g.NoOutput(), value_operand, g.TempImmediate(0), |
g.Label(cont->true_block()), g.Label(cont->false_block())); |
+ } else if (cont->IsDeoptimize()) { |
+ selector->EmitDeoptimize(opcode, g.NoOutput(), value_operand, |
+ g.TempImmediate(0), cont->frame_state()); |
} else { |
selector->Emit(opcode, g.DefineAsRegister(cont->result()), value_operand, |
g.TempImmediate(0)); |