diff options
Diffstat (limited to 'deps/v8/src/regexp/x64/regexp-macro-assembler-x64.h')
-rw-r--r-- | deps/v8/src/regexp/x64/regexp-macro-assembler-x64.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/regexp/x64/regexp-macro-assembler-x64.h b/deps/v8/src/regexp/x64/regexp-macro-assembler-x64.h index 365bbaa6b2a..1cf2f73ac3f 100644 --- a/deps/v8/src/regexp/x64/regexp-macro-assembler-x64.h +++ b/deps/v8/src/regexp/x64/regexp-macro-assembler-x64.h @@ -8,6 +8,7 @@ #include "src/macro-assembler.h" #include "src/regexp/regexp-macro-assembler.h" #include "src/x64/assembler-x64.h" +#include "src/zone/zone-chunk-list.h" namespace v8 { namespace internal { @@ -215,7 +216,7 @@ class RegExpMacroAssemblerX64: public NativeRegExpMacroAssembler { void BranchOrBacktrack(Condition condition, Label* to); void MarkPositionForCodeRelativeFixup() { - code_relative_fixup_positions_.Add(masm_.pc_offset(), zone()); + code_relative_fixup_positions_.push_back(masm_.pc_offset()); } void FixupCodeRelativePositions(); @@ -254,7 +255,7 @@ class RegExpMacroAssemblerX64: public NativeRegExpMacroAssembler { MacroAssembler masm_; NoRootArrayScope no_root_array_scope_; - ZoneList<int> code_relative_fixup_positions_; + ZoneChunkList<int> code_relative_fixup_positions_; // Which mode to generate code for (LATIN1 or UC16). Mode mode_; |