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 7b012680c5ccb3c09e91333775594b17f2066e05..87fabaf500a59d3bd267fe3efb6646dda511b6df 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -2043,16 +2043,16 @@ void InstructionSelector::VisitDeoptimizeUnless(Node* node) { |
VisitWordCompareZero(this, node, node->InputAt(0), &cont); |
} |
-void InstructionSelector::VisitTrapIf(Node* node) { |
- FlagsContinuation cont = FlagsContinuation::ForTrap( |
- kNotEqual, OpParameter<Runtime::FunctionId>(node->op()), |
- node->InputAt(1)); |
+void InstructionSelector::VisitTrapIf(Node* node, Runtime::FunctionId func_id) { |
+ FlagsContinuation cont = |
+ FlagsContinuation::ForTrap(kNotEqual, func_id, node->InputAt(1)); |
VisitWordCompareZero(this, node, node->InputAt(0), &cont); |
} |
-void InstructionSelector::VisitTrapUnless(Node* node) { |
- FlagsContinuation cont = FlagsContinuation::ForTrap( |
- kEqual, OpParameter<Runtime::FunctionId>(node->op()), node->InputAt(1)); |
+void InstructionSelector::VisitTrapUnless(Node* node, |
+ Runtime::FunctionId func_id) { |
+ FlagsContinuation cont = |
+ FlagsContinuation::ForTrap(kEqual, func_id, node->InputAt(1)); |
VisitWordCompareZero(this, node, node->InputAt(0), &cont); |
} |