Index: src/compiler/instruction-selector.h |
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h |
index 1268c8bd479f5201c0cc9f248a3abb80360bba2c..c8edaac95b541ed15feb5ef97fddd273a117f0a6 100644 |
--- a/src/compiler/instruction-selector.h |
+++ b/src/compiler/instruction-selector.h |
@@ -105,10 +105,11 @@ class InstructionSelector final { |
Instruction* EmitDeoptimize(InstructionCode opcode, InstructionOperand output, |
InstructionOperand a, InstructionOperand b, |
- Node* frame_state); |
+ DeoptimizeReason reason, Node* frame_state); |
Instruction* EmitDeoptimize(InstructionCode opcode, size_t output_count, |
InstructionOperand* outputs, size_t input_count, |
- InstructionOperand* inputs, Node* frame_state); |
+ InstructionOperand* inputs, |
+ DeoptimizeReason reason, Node* frame_state); |
// =========================================================================== |
// ============== Architecture-independent CPU feature methods. ============== |
@@ -291,7 +292,8 @@ class InstructionSelector final { |
void VisitGoto(BasicBlock* target); |
void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
void VisitSwitch(Node* node, const SwitchInfo& sw); |
- void VisitDeoptimize(DeoptimizeKind kind, Node* value); |
+ void VisitDeoptimize(DeoptimizeKind kind, DeoptimizeReason reason, |
+ Node* value); |
void VisitReturn(Node* ret); |
void VisitThrow(Node* value); |