Index: src/compiler/instruction-selector.h |
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h |
index 721348db80d2c1bce261653d0c7a70a91f3953f2..4e3f546c77d658396012243138a445160d7eca48 100644 |
--- a/src/compiler/instruction-selector.h |
+++ b/src/compiler/instruction-selector.h |
@@ -26,6 +26,7 @@ class FlagsContinuation; |
class Linkage; |
class OperandGenerator; |
struct SwitchInfo; |
+class StateObjectDeduplicator; |
// This struct connects nodes of parameters which are going to be pushed on the |
// call stack with their parameter index in the call descriptor of the callee. |
@@ -42,6 +43,8 @@ class PushParameter { |
MachineType type_; |
}; |
+enum class FrameStateInputKind { kAny, kStackSlot }; |
+ |
// Instruction selection generates an InstructionSequence for a given Schedule. |
class V8_EXPORT_PRIVATE InstructionSelector final { |
public: |
@@ -286,6 +289,17 @@ class V8_EXPORT_PRIVATE InstructionSelector final { |
int GetTempsCountForTailCallFromJSFunction(); |
FrameStateDescriptor* GetFrameStateDescriptor(Node* node); |
+ size_t AddInputsToFrameStateDescriptor(FrameStateDescriptor* descriptor, |
+ Node* state, OperandGenerator* g, |
+ StateObjectDeduplicator* deduplicator, |
+ InstructionOperandVector* inputs, |
+ FrameStateInputKind kind, Zone* zone); |
+ size_t AddOperandToStateValueDescriptor(StateValueList* values, |
+ InstructionOperandVector* inputs, |
+ OperandGenerator* g, |
+ StateObjectDeduplicator* deduplicator, |
+ Node* input, MachineType type, |
+ FrameStateInputKind kind, Zone* zone); |
// =========================================================================== |
// ============= Architecture-specific graph covering methods. =============== |