Index: src/compiler/mips/instruction-selector-mips.cc |
diff --git a/src/compiler/mips/instruction-selector-mips.cc b/src/compiler/mips/instruction-selector-mips.cc |
index 47ee88bd23d32f95bdee6db2a64f6570d6a50e96..86bf3a421b247df105229b31beb4a854e45a0bd6 100644 |
--- a/src/compiler/mips/instruction-selector-mips.cc |
+++ b/src/compiler/mips/instruction-selector-mips.cc |
@@ -211,7 +211,7 @@ |
opcode = cont->Encode(opcode); |
if (cont->IsDeoptimize()) { |
selector->EmitDeoptimize(opcode, output_count, outputs, input_count, inputs, |
- cont->kind(), cont->reason(), cont->frame_state()); |
+ cont->reason(), cont->frame_state()); |
} else { |
selector->Emit(opcode, output_count, outputs, input_count, inputs); |
} |
@@ -1367,8 +1367,8 @@ |
selector->Emit(opcode, g.NoOutput(), left, right, |
g.Label(cont->true_block()), g.Label(cont->false_block())); |
} else if (cont->IsDeoptimize()) { |
- selector->EmitDeoptimize(opcode, g.NoOutput(), left, right, cont->kind(), |
- cont->reason(), cont->frame_state()); |
+ selector->EmitDeoptimize(opcode, g.NoOutput(), left, right, cont->reason(), |
+ cont->frame_state()); |
} else if (cont->IsSet()) { |
selector->Emit(opcode, g.DefineAsRegister(cont->result()), left, right); |
} else { |
@@ -1580,7 +1580,7 @@ |
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->kind(), cont->reason(), |
+ g.TempImmediate(0), cont->reason(), |
cont->frame_state()); |
} else if (cont->IsSet()) { |
selector->Emit(opcode, g.DefineAsRegister(cont->result()), value_operand, |
@@ -1601,16 +1601,14 @@ |
} |
void InstructionSelector::VisitDeoptimizeIf(Node* node) { |
- DeoptimizeParameters p = DeoptimizeParametersOf(node->op()); |
FlagsContinuation cont = FlagsContinuation::ForDeoptimize( |
- kNotEqual, p.kind(), p.reason(), node->InputAt(1)); |
+ kNotEqual, DeoptimizeReasonOf(node->op()), node->InputAt(1)); |
VisitWordCompareZero(this, node, node->InputAt(0), &cont); |
} |
void InstructionSelector::VisitDeoptimizeUnless(Node* node) { |
- DeoptimizeParameters p = DeoptimizeParametersOf(node->op()); |
FlagsContinuation cont = FlagsContinuation::ForDeoptimize( |
- kEqual, p.kind(), p.reason(), node->InputAt(1)); |
+ kEqual, DeoptimizeReasonOf(node->op()), node->InputAt(1)); |
VisitWordCompareZero(this, node, node->InputAt(0), &cont); |
} |