Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index 6a0485f4e783029a0c02c5652fc70990f3913db2..1cec9ae54035d058f9da8bb00fb4cdbe8bcc20da 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -536,7 +536,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); |
} |
@@ -1546,7 +1546,7 @@ |
selector->Emit(opcode, 0, nullptr, input_count, inputs); |
} else if (cont->IsDeoptimize()) { |
selector->EmitDeoptimize(opcode, 0, nullptr, input_count, inputs, |
- cont->kind(), cont->reason(), cont->frame_state()); |
+ cont->reason(), cont->frame_state()); |
} else if (cont->IsSet()) { |
InstructionOperand output = g.DefineAsRegister(cont->result()); |
selector->Emit(opcode, 1, &output, input_count, inputs); |
@@ -1567,8 +1567,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 { |
@@ -1755,8 +1755,8 @@ |
selector->Emit(opcode, g.NoOutput(), g.Label(cont->true_block()), |
g.Label(cont->false_block())); |
} else if (cont->IsDeoptimize()) { |
- selector->EmitDeoptimize(opcode, 0, nullptr, 0, nullptr, cont->kind(), |
- cont->reason(), cont->frame_state()); |
+ selector->EmitDeoptimize(opcode, 0, nullptr, 0, nullptr, cont->reason(), |
+ cont->frame_state()); |
} else if (cont->IsSet()) { |
selector->Emit(opcode, g.DefineAsRegister(cont->result())); |
} else { |
@@ -1954,16 +1954,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); |
} |