Index: src/compiler/x87/instruction-selector-x87.cc |
diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc |
index 93c36e00c1b81a3fe85f099859592f01fee5a29f..ef3fd2faa8d07e4225b396ef5a10036160d28aad 100644 |
--- a/src/compiler/x87/instruction-selector-x87.cc |
+++ b/src/compiler/x87/instruction-selector-x87.cc |
@@ -1590,16 +1590,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); |
} |