Index: src/compiler/instruction-selector.h |
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h |
index 9a0744720a099295361e8ab603bb7f6277d0bfcc..b8354fcfd1e2aa07bcda1337c1c18687fe444a41 100644 |
--- a/src/compiler/instruction-selector.h |
+++ b/src/compiler/instruction-selector.h |
@@ -22,6 +22,7 @@ class BasicBlock; |
struct CallBuffer; // TODO(bmeurer): Remove this. |
class FlagsContinuation; |
class Linkage; |
+class OperandGenerator; |
struct SwitchInfo; |
typedef ZoneVector<InstructionOperand> InstructionOperandVector; |
@@ -173,8 +174,13 @@ class InstructionSelector final { |
bool call_address_immediate); |
FrameStateDescriptor* GetFrameStateDescriptor(Node* node); |
+ |
+ enum class FrameStateInputKind { kAny, kStackSlot }; |
void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, |
- FrameStateDescriptor* descriptor); |
+ FrameStateDescriptor* descriptor, |
+ FrameStateInputKind kind); |
+ static InstructionOperand OperandForDeopt(OperandGenerator* g, Node* input, |
+ FrameStateInputKind kind); |
// =========================================================================== |
// ============= Architecture-specific graph covering methods. =============== |