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_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
8 | 8 |
| 9 #include "src/regexp/mips/regexp-macro-assembler-mips.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/mips/regexp-macro-assembler-mips.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 * - t7 : Temporarily stores the index of capture start after a matching pass | 24 * - t7 : Temporarily stores the index of capture start after a matching pass |
25 * for a global regexp. | 25 * for a global regexp. |
26 * - t1 : Pointer to current code object (Code*) including heap object tag. | 26 * - t1 : Pointer to current code object (Code*) including heap object tag. |
27 * - t2 : Current position in input, as negative offset from end of string. | 27 * - t2 : Current position in input, as negative offset from end of string. |
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1238 | 1238 |
1239 | 1239 |
1240 #undef __ | 1240 #undef __ |
1241 | 1241 |
1242 #endif // V8_INTERPRETED_REGEXP | 1242 #endif // V8_INTERPRETED_REGEXP |
1243 | 1243 |
1244 } // namespace internal | 1244 } // namespace internal |
1245 } // namespace v8 | 1245 } // namespace v8 |
1246 | 1246 |
1247 #endif // V8_TARGET_ARCH_MIPS | 1247 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |