OLD | NEW |
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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
8 | 8 |
| 9 #include "src/regexp/mips64/regexp-macro-assembler-mips64.h" |
| 10 |
9 #include "src/code-stubs.h" | 11 #include "src/code-stubs.h" |
10 #include "src/log.h" | 12 #include "src/log.h" |
11 #include "src/macro-assembler.h" | 13 #include "src/macro-assembler.h" |
12 #include "src/regexp-macro-assembler.h" | 14 #include "src/regexp/regexp-macro-assembler.h" |
13 #include "src/regexp-stack.h" | 15 #include "src/regexp/regexp-stack.h" |
14 #include "src/unicode.h" | 16 #include "src/unicode.h" |
15 | 17 |
16 #include "src/mips64/regexp-macro-assembler-mips64.h" | |
17 | |
18 namespace v8 { | 18 namespace v8 { |
19 namespace internal { | 19 namespace internal { |
20 | 20 |
21 #ifndef V8_INTERPRETED_REGEXP | 21 #ifndef V8_INTERPRETED_REGEXP |
22 /* | 22 /* |
23 * This assembler uses the following register assignment convention | 23 * This assembler uses the following register assignment convention |
24 * - t3 : Temporarily stores the index of capture start after a matching pass | 24 * - t3 : Temporarily stores the index of capture start after a matching pass |
25 * for a global regexp. | 25 * for a global regexp. |
26 * - a5 : Pointer to current code object (Code*) including heap object tag. | 26 * - a5 : Pointer to current code object (Code*) including heap object tag. |
27 * - a6 : Current position in input, as negative offset from end of string. | 27 * - a6 : Current position in input, as negative offset from end of string. |
(...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1283 } | 1283 } |
1284 | 1284 |
1285 #undef __ | 1285 #undef __ |
1286 | 1286 |
1287 #endif // V8_INTERPRETED_REGEXP | 1287 #endif // V8_INTERPRETED_REGEXP |
1288 | 1288 |
1289 } // namespace internal | 1289 } // namespace internal |
1290 } // namespace v8 | 1290 } // namespace v8 |
1291 | 1291 |
1292 #endif // V8_TARGET_ARCH_MIPS64 | 1292 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |