| Index: src/compiler/ppc/instruction-selector-ppc.cc
|
| diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc
|
| index 7efe0a59dcca89d88c5edd37e97c57a804d9f2a0..ed78f12829e511800f910785f47238a74e3dc15f 100644
|
| --- a/src/compiler/ppc/instruction-selector-ppc.cc
|
| +++ b/src/compiler/ppc/instruction-selector-ppc.cc
|
| @@ -154,7 +154,7 @@ void VisitBinop(InstructionSelector* selector, Node* node,
|
| opcode = cont->Encode(opcode);
|
| if (cont->IsDeoptimize()) {
|
| selector->EmitDeoptimize(opcode, output_count, outputs, input_count, inputs,
|
| - cont->reason(), cont->frame_state());
|
| + cont->kind(), 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);
|
| @@ -1536,8 +1536,8 @@ void VisitCompare(InstructionSelector* selector, InstructionCode opcode,
|
| 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->reason(),
|
| - cont->frame_state());
|
| + selector->EmitDeoptimize(opcode, g.NoOutput(), left, right, cont->kind(),
|
| + cont->reason(), cont->frame_state());
|
| } else if (cont->IsSet()) {
|
| selector->Emit(opcode, g.DefineAsRegister(cont->result()), left, right);
|
| } else {
|
| @@ -1785,14 +1785,14 @@ void InstructionSelector::VisitDeoptimizeIf(Node* node) {
|
| DeoptimizeParameters p = DeoptimizeParametersOf(node->op());
|
| FlagsContinuation cont = FlagsContinuation::ForDeoptimize(
|
| kNotEqual, p.kind(), p.reason(), node->InputAt(1));
|
| - VisitWordCompareZero(this, node, node->InputAt(0), &cont);
|
| + VisitWord32CompareZero(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));
|
| - VisitWordCompareZero(this, node, node->InputAt(0), &cont);
|
| + VisitWord32CompareZero(this, node, node->InputAt(0), &cont);
|
| }
|
|
|
| void InstructionSelector::VisitTrapIf(Node* node, Runtime::FunctionId func_id) {
|
|
|