| 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_PPC | 7 #if V8_TARGET_ARCH_PPC |
| 8 | 8 |
| 9 #include "src/regexp/ppc/regexp-macro-assembler-ppc.h" |
| 10 |
| 9 #include "src/base/bits.h" | 11 #include "src/base/bits.h" |
| 10 #include "src/code-stubs.h" | 12 #include "src/code-stubs.h" |
| 11 #include "src/cpu-profiler.h" | 13 #include "src/cpu-profiler.h" |
| 12 #include "src/log.h" | 14 #include "src/log.h" |
| 13 #include "src/macro-assembler.h" | 15 #include "src/macro-assembler.h" |
| 14 #include "src/regexp-macro-assembler.h" | 16 #include "src/regexp/regexp-macro-assembler.h" |
| 15 #include "src/regexp-stack.h" | 17 #include "src/regexp/regexp-stack.h" |
| 16 #include "src/unicode.h" | 18 #include "src/unicode.h" |
| 17 | 19 |
| 18 #include "src/ppc/regexp-macro-assembler-ppc.h" | |
| 19 | |
| 20 namespace v8 { | 20 namespace v8 { |
| 21 namespace internal { | 21 namespace internal { |
| 22 | 22 |
| 23 #ifndef V8_INTERPRETED_REGEXP | 23 #ifndef V8_INTERPRETED_REGEXP |
| 24 /* | 24 /* |
| 25 * This assembler uses the following register assignment convention | 25 * This assembler uses the following register assignment convention |
| 26 * - r25: Temporarily stores the index of capture start after a matching pass | 26 * - r25: Temporarily stores the index of capture start after a matching pass |
| 27 * for a global regexp. | 27 * for a global regexp. |
| 28 * - r26: Pointer to current code object (Code*) including heap object tag. | 28 * - r26: Pointer to current code object (Code*) including heap object tag. |
| 29 * - r27: Current position in input, as negative offset from end of string. | 29 * - r27: Current position in input, as negative offset from end of string. |
| (...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 | 1247 |
| 1248 #undef __ | 1248 #undef __ |
| 1249 | 1249 |
| 1250 #endif // V8_INTERPRETED_REGEXP | 1250 #endif // V8_INTERPRETED_REGEXP |
| 1251 } // namespace internal | 1251 } // namespace internal |
| 1252 } // namespace v8 | 1252 } // namespace v8 |
| 1253 | 1253 |
| 1254 #endif // V8_TARGET_ARCH_PPC | 1254 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |