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

Side by Side Diff: src/mips/regexp-macro-assembler-mips.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/liveedit.cc ('k') | src/mips/regexp-macro-assembler-mips.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 5
6 #ifndef V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 6 #ifndef V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
7 #define V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 7 #define V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
8 8
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 #include "src/mips/assembler-mips-inl.h" 10 #include "src/mips/assembler-mips-inl.h"
11 #include "src/mips/assembler-mips.h" 11 #include "src/mips/assembler-mips.h"
12 #include "src/mips/macro-assembler-mips.h" 12 #include "src/mips/macro-assembler-mips.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 16
17 #ifndef V8_INTERPRETED_REGEXP 17 #ifndef V8_INTERPRETED_REGEXP
18 class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { 18 class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler {
19 public: 19 public:
20 RegExpMacroAssemblerMIPS(Mode mode, int registers_to_save, Zone* zone); 20 RegExpMacroAssemblerMIPS(Isolate* isolate, Zone* zone, Mode mode,
21 int registers_to_save);
21 virtual ~RegExpMacroAssemblerMIPS(); 22 virtual ~RegExpMacroAssemblerMIPS();
22 virtual int stack_limit_slack(); 23 virtual int stack_limit_slack();
23 virtual void AdvanceCurrentPosition(int by); 24 virtual void AdvanceCurrentPosition(int by);
24 virtual void AdvanceRegister(int reg, int by); 25 virtual void AdvanceRegister(int reg, int by);
25 virtual void Backtrack(); 26 virtual void Backtrack();
26 virtual void Bind(Label* label); 27 virtual void Bind(Label* label);
27 virtual void CheckAtStart(Label* on_at_start); 28 virtual void CheckAtStart(Label* on_at_start);
28 virtual void CheckCharacter(uint32_t c, Label* on_equal); 29 virtual void CheckCharacter(uint32_t c, Label* on_equal);
29 virtual void CheckCharacterAfterAnd(uint32_t c, 30 virtual void CheckCharacterAfterAnd(uint32_t c,
30 uint32_t mask, 31 uint32_t mask,
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 Label stack_overflow_label_; 218 Label stack_overflow_label_;
218 Label internal_failure_label_; 219 Label internal_failure_label_;
219 }; 220 };
220 221
221 #endif // V8_INTERPRETED_REGEXP 222 #endif // V8_INTERPRETED_REGEXP
222 223
223 224
224 }} // namespace v8::internal 225 }} // namespace v8::internal
225 226
226 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 227 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | src/mips/regexp-macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698