Index: runtime/vm/regexp_assembler.h |
diff --git a/runtime/vm/regexp_assembler.h b/runtime/vm/regexp_assembler.h |
index 12edecbb468180d7e869e4e8b301b20dc30cd63b..ebca0c2f3f82a3d933c3b14054ac33367c344d2f 100644 |
--- a/runtime/vm/regexp_assembler.h |
+++ b/runtime/vm/regexp_assembler.h |
@@ -539,7 +539,10 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler { |
// Accessors for our local stack_. |
void PushStack(Definition* definition); |
- Value* PopStack(); |
+ Definition* PopStack(); |
+ Definition* PeekStack(); |
+ void CheckStackLimit(); |
+ void GrowStack(); |
// Prints the specified argument. Used for debugging. |
void Print(PushArgumentInstr* argument); |
@@ -595,6 +598,7 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler { |
// A list, acting as the runtime stack for both backtrack locations and |
// stored positions within the string. |
LocalVariable* stack_; |
+ LocalVariable* stack_pointer_; |
// Stores the current character within the string. |
LocalVariable* current_character_; |
@@ -629,7 +633,7 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler { |
const intptr_t saved_registers_count_; |
// The actual array objects used for the stack and registers. |
- GrowableObjectArray& stack_array_; |
+ Array& stack_array_cell_; |
TypedData& registers_array_; |
IdAllocator block_id_; |