Index: src/compiler/interpreter-assembler.h |
diff --git a/src/compiler/interpreter-assembler.h b/src/compiler/interpreter-assembler.h |
index 4662fc8042519c6ce81a9d50b0489042a1c866d9..b15311bbedf02d0a6cdef9905dec05b049c90f4c 100644 |
--- a/src/compiler/interpreter-assembler.h |
+++ b/src/compiler/interpreter-assembler.h |
@@ -53,6 +53,7 @@ class InterpreterAssembler { |
// Constants. |
Node* Int32Constant(int value); |
+ Node* IntPtrConstant(intptr_t value); |
Node* NumberConstant(double value); |
Node* HeapConstant(Unique<HeapObject> object); |
@@ -60,6 +61,9 @@ class InterpreterAssembler { |
Node* SmiTag(Node* value); |
Node* SmiUntag(Node* value); |
+ // Load |slot_index| from the current context. |
+ Node* LoadContextSlot(int slot_index); |
+ |
// Returns from the function. |
void Return(); |
@@ -81,8 +85,10 @@ class InterpreterAssembler { |
Node* BytecodeArrayTaggedPointer(); |
// Returns the offset from the BytecodeArrayPointer of the current bytecode. |
Node* BytecodeOffset(); |
- // Returns a pointer to first entry in the interpreter dispatch table. |
+ // Returns a raw pointer to first entry in the interpreter dispatch table. |
Node* DispatchTableRawPointer(); |
+ // Returns a tagged pointer to the current context. |
+ Node* ContextTaggedPointer(); |
// Returns the offset of register |index| relative to RegisterFilePointer(). |
Node* RegisterFrameOffset(Node* index); |