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

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

Issue 901083004: Contribution of PowerPC port (continuation of 422063005) - PPC dir update (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Contribution of PowerPC port (continuation of 422063005) - PPC dir update -comments and rebase 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 | « src/ppc/macro-assembler-ppc.cc ('k') | src/ppc/regexp-macro-assembler-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_ 5 #ifndef V8_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_
6 #define V8_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_ 6 #define V8_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 #include "src/ppc/assembler-ppc.h" 9 #include "src/ppc/assembler-ppc.h"
10 #include "src/ppc/assembler-ppc-inl.h" 10 #include "src/ppc/assembler-ppc-inl.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 15
16 #ifndef V8_INTERPRETED_REGEXP 16 #ifndef V8_INTERPRETED_REGEXP
17 class RegExpMacroAssemblerPPC : public NativeRegExpMacroAssembler { 17 class RegExpMacroAssemblerPPC : public NativeRegExpMacroAssembler {
18 public: 18 public:
19 RegExpMacroAssemblerPPC(Mode mode, int registers_to_save, Zone* zone); 19 RegExpMacroAssemblerPPC(Isolate* isolate, Zone* zone, Mode mode,
20 int registers_to_save);
20 virtual ~RegExpMacroAssemblerPPC(); 21 virtual ~RegExpMacroAssemblerPPC();
21 virtual int stack_limit_slack(); 22 virtual int stack_limit_slack();
22 virtual void AdvanceCurrentPosition(int by); 23 virtual void AdvanceCurrentPosition(int by);
23 virtual void AdvanceRegister(int reg, int by); 24 virtual void AdvanceRegister(int reg, int by);
24 virtual void Backtrack(); 25 virtual void Backtrack();
25 virtual void Bind(Label* label); 26 virtual void Bind(Label* label);
26 virtual void CheckAtStart(Label* on_at_start); 27 virtual void CheckAtStart(Label* on_at_start);
27 virtual void CheckCharacter(unsigned c, Label* on_equal); 28 virtual void CheckCharacter(unsigned c, Label* on_equal);
28 virtual void CheckCharacterAfterAnd(unsigned c, unsigned mask, 29 virtual void CheckCharacterAfterAnd(unsigned c, unsigned mask,
29 Label* on_equal); 30 Label* on_equal);
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 204
204 // Set of non-volatile registers saved/restored by generated regexp code. 205 // Set of non-volatile registers saved/restored by generated regexp code.
205 const RegList kRegExpCalleeSaved = 206 const RegList kRegExpCalleeSaved =
206 1 << 25 | 1 << 26 | 1 << 27 | 1 << 28 | 1 << 29 | 1 << 30 | 1 << 31; 207 1 << 25 | 1 << 26 | 1 << 27 | 1 << 28 | 1 << 29 | 1 << 30 | 1 << 31;
207 208
208 #endif // V8_INTERPRETED_REGEXP 209 #endif // V8_INTERPRETED_REGEXP
209 } 210 }
210 } // namespace v8::internal 211 } // namespace v8::internal
211 212
212 #endif // V8_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_ 213 #endif // V8_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/macro-assembler-ppc.cc ('k') | src/ppc/regexp-macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698