Index: src/x64/regexp-macro-assembler-x64.h |
diff --git a/src/x64/regexp-macro-assembler-x64.h b/src/x64/regexp-macro-assembler-x64.h |
index 9b260697190001ff989bcae0c889ef372a67bd6e..a082cf2df37710662feb3522d35d43da6ce3f28f 100644 |
--- a/src/x64/regexp-macro-assembler-x64.h |
+++ b/src/x64/regexp-macro-assembler-x64.h |
@@ -41,7 +41,7 @@ namespace internal { |
class RegExpMacroAssemblerX64: public NativeRegExpMacroAssembler { |
public: |
- RegExpMacroAssemblerX64(Mode mode, int registers_to_save); |
+ RegExpMacroAssemblerX64(Mode mode, int registers_to_save, Zone* zone); |
virtual ~RegExpMacroAssemblerX64(); |
virtual int stack_limit_slack(); |
virtual void AdvanceCurrentPosition(int by); |
@@ -240,7 +240,7 @@ class RegExpMacroAssemblerX64: public NativeRegExpMacroAssembler { |
void BranchOrBacktrack(Condition condition, Label* to); |
void MarkPositionForCodeRelativeFixup() { |
- code_relative_fixup_positions_.Add(masm_.pc_offset()); |
+ code_relative_fixup_positions_.Add(masm_.pc_offset(), zone()); |
} |
void FixupCodeRelativePositions(); |