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 c7e1fa34c1ec69c96982f266f5935911355c3725..7efe0a59dcca89d88c5edd37e97c57a804d9f2a0 100644 |
--- a/src/compiler/ppc/instruction-selector-ppc.cc |
+++ b/src/compiler/ppc/instruction-selector-ppc.cc |
@@ -1782,15 +1782,17 @@ void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch, |
} |
void InstructionSelector::VisitDeoptimizeIf(Node* node) { |
+ DeoptimizeParameters p = DeoptimizeParametersOf(node->op()); |
FlagsContinuation cont = FlagsContinuation::ForDeoptimize( |
- kNotEqual, DeoptimizeReasonOf(node->op()), node->InputAt(1)); |
- VisitWord32CompareZero(this, node, node->InputAt(0), &cont); |
+ kNotEqual, p.kind(), p.reason(), 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, DeoptimizeReasonOf(node->op()), node->InputAt(1)); |
- VisitWord32CompareZero(this, node, node->InputAt(0), &cont); |
+ kEqual, p.kind(), p.reason(), node->InputAt(1)); |
+ VisitWordCompareZero(this, node, node->InputAt(0), &cont); |
} |
void InstructionSelector::VisitTrapIf(Node* node, Runtime::FunctionId func_id) { |