Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index ec6cb6799c9feece857f7237a2bf999fac26d0c1..29a3181c13278408b2f53fe6c3a149d801c7831b 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1041,9 +1041,11 @@ void InstructionSelector::VisitNode(Node* node) { |
case IrOpcode::kDeoptimizeUnless: |
return VisitDeoptimizeUnless(node); |
case IrOpcode::kTrapIf: |
- return VisitTrapIf(node); |
+ return VisitTrapIf(node, static_cast<Runtime::FunctionId>( |
+ OpParameter<int32_t>(node->op()))); |
case IrOpcode::kTrapUnless: |
- return VisitTrapUnless(node); |
+ return VisitTrapUnless(node, static_cast<Runtime::FunctionId>( |
+ OpParameter<int32_t>(node->op()))); |
case IrOpcode::kFrameState: |
case IrOpcode::kStateValues: |
case IrOpcode::kObjectState: |