OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 13 matching lines...) Expand all Loading... |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #include "v8.h" | 28 #include "v8.h" |
29 | 29 |
30 #if defined(V8_TARGET_ARCH_ARM) | 30 #if defined(V8_TARGET_ARCH_ARM) |
31 | 31 |
32 #include "unicode.h" | 32 #include "unicode.h" |
33 #include "log.h" | 33 #include "log.h" |
34 #include "ast.h" | |
35 #include "code-stubs.h" | 34 #include "code-stubs.h" |
36 #include "regexp-stack.h" | 35 #include "regexp-stack.h" |
37 #include "macro-assembler.h" | 36 #include "macro-assembler.h" |
38 #include "regexp-macro-assembler.h" | 37 #include "regexp-macro-assembler.h" |
39 #include "arm/macro-assembler-arm.h" | |
40 #include "arm/regexp-macro-assembler-arm.h" | 38 #include "arm/regexp-macro-assembler-arm.h" |
41 | 39 |
42 namespace v8 { | 40 namespace v8 { |
43 namespace internal { | 41 namespace internal { |
44 | 42 |
45 #ifndef V8_INTERPRETED_REGEXP | 43 #ifndef V8_INTERPRETED_REGEXP |
46 /* | 44 /* |
47 * This assembler uses the following register assignment convention | 45 * This assembler uses the following register assignment convention |
48 * - r5 : Pointer to current code object (Code*) including heap object tag. | 46 * - r5 : Pointer to current code object (Code*) including heap object tag. |
49 * - r6 : Current position in input, as negative offset from end of string. | 47 * - r6 : Current position in input, as negative offset from end of string. |
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1252 __ ldr(pc, MemOperand(sp, stack_alignment, PostIndex)); | 1250 __ ldr(pc, MemOperand(sp, stack_alignment, PostIndex)); |
1253 } | 1251 } |
1254 | 1252 |
1255 #undef __ | 1253 #undef __ |
1256 | 1254 |
1257 #endif // V8_INTERPRETED_REGEXP | 1255 #endif // V8_INTERPRETED_REGEXP |
1258 | 1256 |
1259 }} // namespace v8::internal | 1257 }} // namespace v8::internal |
1260 | 1258 |
1261 #endif // V8_TARGET_ARCH_ARM | 1259 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |