Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: src/ia32/regexp-macro-assembler-ia32.h

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation issues Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/regexp-macro-assembler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_
7 7
8 #include "src/ia32/assembler-ia32.h" 8 #include "src/ia32/assembler-ia32.h"
9 #include "src/ia32/assembler-ia32-inl.h" 9 #include "src/ia32/assembler-ia32-inl.h"
10 #include "src/macro-assembler.h" 10 #include "src/macro-assembler.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 #ifndef V8_INTERPRETED_REGEXP 15 #ifndef V8_INTERPRETED_REGEXP
16 class RegExpMacroAssemblerIA32: public NativeRegExpMacroAssembler { 16 class RegExpMacroAssemblerIA32: public NativeRegExpMacroAssembler {
17 public: 17 public:
18 RegExpMacroAssemblerIA32(Mode mode, int registers_to_save, Zone* zone); 18 RegExpMacroAssemblerIA32(Isolate* isolate, Zone* zone, Mode mode,
19 int registers_to_save);
19 virtual ~RegExpMacroAssemblerIA32(); 20 virtual ~RegExpMacroAssemblerIA32();
20 virtual int stack_limit_slack(); 21 virtual int stack_limit_slack();
21 virtual void AdvanceCurrentPosition(int by); 22 virtual void AdvanceCurrentPosition(int by);
22 virtual void AdvanceRegister(int reg, int by); 23 virtual void AdvanceRegister(int reg, int by);
23 virtual void Backtrack(); 24 virtual void Backtrack();
24 virtual void Bind(Label* label); 25 virtual void Bind(Label* label);
25 virtual void CheckAtStart(Label* on_at_start); 26 virtual void CheckAtStart(Label* on_at_start);
26 virtual void CheckCharacter(uint32_t c, Label* on_equal); 27 virtual void CheckCharacter(uint32_t c, Label* on_equal);
27 virtual void CheckCharacterAfterAnd(uint32_t c, 28 virtual void CheckCharacterAfterAnd(uint32_t c,
28 uint32_t mask, 29 uint32_t mask,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 Label backtrack_label_; 192 Label backtrack_label_;
192 Label exit_label_; 193 Label exit_label_;
193 Label check_preempt_label_; 194 Label check_preempt_label_;
194 Label stack_overflow_label_; 195 Label stack_overflow_label_;
195 }; 196 };
196 #endif // V8_INTERPRETED_REGEXP 197 #endif // V8_INTERPRETED_REGEXP
197 198
198 }} // namespace v8::internal 199 }} // namespace v8::internal
199 200
200 #endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ 201 #endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/regexp-macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698