| OLD | NEW |
| 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_REGEXP_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_REGEXP_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_ |
| 6 #define V8_REGEXP_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_REGEXP_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/frames-ppc.h" |
| 10 #include "src/regexp/regexp-macro-assembler.h" | 11 #include "src/regexp/regexp-macro-assembler.h" |
| 11 | 12 |
| 12 namespace v8 { | 13 namespace v8 { |
| 13 namespace internal { | 14 namespace internal { |
| 14 | 15 |
| 15 | 16 |
| 16 #ifndef V8_INTERPRETED_REGEXP | 17 #ifndef V8_INTERPRETED_REGEXP |
| 17 class RegExpMacroAssemblerPPC : public NativeRegExpMacroAssembler { | 18 class RegExpMacroAssemblerPPC : public NativeRegExpMacroAssembler { |
| 18 public: | 19 public: |
| 19 RegExpMacroAssemblerPPC(Isolate* isolate, Zone* zone, Mode mode, | 20 RegExpMacroAssemblerPPC(Isolate* isolate, Zone* zone, Mode mode, |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 205 |
| 205 // Set of non-volatile registers saved/restored by generated regexp code. | 206 // Set of non-volatile registers saved/restored by generated regexp code. |
| 206 const RegList kRegExpCalleeSaved = | 207 const RegList kRegExpCalleeSaved = |
| 207 1 << 25 | 1 << 26 | 1 << 27 | 1 << 28 | 1 << 29 | 1 << 30 | 1 << 31; | 208 1 << 25 | 1 << 26 | 1 << 27 | 1 << 28 | 1 << 29 | 1 << 30 | 1 << 31; |
| 208 | 209 |
| 209 #endif // V8_INTERPRETED_REGEXP | 210 #endif // V8_INTERPRETED_REGEXP |
| 210 } | 211 } |
| 211 } // namespace v8::internal | 212 } // namespace v8::internal |
| 212 | 213 |
| 213 #endif // V8_REGEXP_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_ | 214 #endif // V8_REGEXP_PPC_REGEXP_MACRO_ASSEMBLER_PPC_H_ |
| OLD | NEW |