Index: src/compiler/instruction-selector.h |
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h |
index a01cab4dab5232390bdb8413d8f451722f360247..2027e907bb4af09353665b14c80258a76e3a3288 100644 |
--- a/src/compiler/instruction-selector.h |
+++ b/src/compiler/instruction-selector.h |
@@ -100,6 +100,17 @@ class InstructionSelector final { |
Instruction* Emit(Instruction* instr); |
// =========================================================================== |
+ // ===== Architecture-independent deoptimization exit emission methods. ====== |
+ // =========================================================================== |
+ |
+ Instruction* EmitDeoptimize(InstructionCode opcode, InstructionOperand output, |
+ InstructionOperand a, InstructionOperand b, |
+ Node* frame_state); |
+ Instruction* EmitDeoptimize(InstructionCode opcode, size_t output_count, |
+ InstructionOperand* outputs, size_t input_count, |
+ InstructionOperand* inputs, Node* frame_state); |
+ |
+ // =========================================================================== |
// ============== Architecture-independent CPU feature methods. ============== |
// =========================================================================== |
@@ -243,6 +254,8 @@ class InstructionSelector final { |
void VisitProjection(Node* node); |
void VisitConstant(Node* node); |
void VisitCall(Node* call, BasicBlock* handler = nullptr); |
+ void VisitDeoptimizeIf(Node* node); |
+ void VisitDeoptimizeUnless(Node* node); |
void VisitTailCall(Node* call); |
void VisitGoto(BasicBlock* target); |
void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |