Index: src/compiler/arm/instruction-selector-arm.cc |
diff --git a/src/compiler/arm/instruction-selector-arm.cc b/src/compiler/arm/instruction-selector-arm.cc |
index f7c59e5dd2e553182339c83501e2c39fea5dba63..e3c7bd0aa3d5e27012cda8601163d0434bb8848f 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -280,7 +280,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 if (cont->IsTrap()) { |
inputs[input_count++] = g.UseImmediate(cont->trap_id()); |
selector->Emit(opcode, output_count, outputs, input_count, inputs); |
@@ -906,7 +906,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 if (cont->IsTrap()) { |
inputs[input_count++] = g.UseImmediate(cont->trap_id()); |
selector->Emit(opcode, output_count, outputs, input_count, inputs); |
@@ -1268,8 +1268,8 @@ |
g.Label(cont->true_block()), g.Label(cont->false_block())); |
} else if (cont->IsDeoptimize()) { |
InstructionOperand in[] = {temp_operand, result_operand, shift_31}; |
- selector->EmitDeoptimize(opcode, 0, nullptr, 3, in, cont->kind(), |
- cont->reason(), cont->frame_state()); |
+ selector->EmitDeoptimize(opcode, 0, nullptr, 3, in, cont->reason(), |
+ cont->frame_state()); |
} else if (cont->IsSet()) { |
selector->Emit(opcode, g.DefineAsRegister(cont->result()), temp_operand, |
result_operand, shift_31); |
@@ -1540,8 +1540,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 { |
@@ -1737,7 +1737,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 if (cont->IsTrap()) { |
inputs[input_count++] = g.UseImmediate(cont->trap_id()); |
selector->Emit(opcode, output_count, outputs, input_count, inputs); |
@@ -1896,7 +1896,7 @@ |
g.Label(cont->true_block()), g.Label(cont->false_block())); |
} else if (cont->IsDeoptimize()) { |
selector->EmitDeoptimize(opcode, g.NoOutput(), value_operand, value_operand, |
- cont->kind(), cont->reason(), cont->frame_state()); |
+ cont->reason(), cont->frame_state()); |
} else if (cont->IsSet()) { |
selector->Emit(opcode, g.DefineAsRegister(cont->result()), value_operand, |
value_operand); |
@@ -1916,16 +1916,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); |
} |