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

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

Issue 903183003: X87: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | src/x87/regexp-macro-assembler-x87.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_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 #include "src/x87/assembler-x87-inl.h" 9 #include "src/x87/assembler-x87-inl.h"
10 #include "src/x87/assembler-x87.h" 10 #include "src/x87/assembler-x87.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 RegExpMacroAssemblerX87: public NativeRegExpMacroAssembler { 16 class RegExpMacroAssemblerX87: public NativeRegExpMacroAssembler {
17 public: 17 public:
18 RegExpMacroAssemblerX87(Mode mode, int registers_to_save, Zone* zone); 18 RegExpMacroAssemblerX87(Isolate* isolate, Zone* zone, Mode mode,
19 int registers_to_save);
19 virtual ~RegExpMacroAssemblerX87(); 20 virtual ~RegExpMacroAssemblerX87();
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_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ 201 #endif // V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « no previous file | src/x87/regexp-macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698