OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 #include "code-stubs.h" | 32 #include "code-stubs.h" |
33 #include "codegen-inl.h" | 33 #include "codegen-inl.h" |
34 #include "compiler.h" | 34 #include "compiler.h" |
35 #include "debug.h" | 35 #include "debug.h" |
36 #include "full-codegen.h" | 36 #include "full-codegen.h" |
37 #include "parser.h" | 37 #include "parser.h" |
38 #include "scopes.h" | 38 #include "scopes.h" |
39 #include "stub-cache.h" | 39 #include "stub-cache.h" |
40 | 40 |
| 41 #include "arm/code-stubs-arm.h" |
| 42 |
41 namespace v8 { | 43 namespace v8 { |
42 namespace internal { | 44 namespace internal { |
43 | 45 |
44 #define __ ACCESS_MASM(masm_) | 46 #define __ ACCESS_MASM(masm_) |
45 | 47 |
46 // Generate code for a JS function. On entry to the function the receiver | 48 // Generate code for a JS function. On entry to the function the receiver |
47 // and arguments have been pushed on the stack left to right. The actual | 49 // and arguments have been pushed on the stack left to right. The actual |
48 // argument count matches the formal parameter count expected by the | 50 // argument count matches the formal parameter count expected by the |
49 // function. | 51 // function. |
50 // | 52 // |
(...skipping 3540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3591 __ mov(r1, Operand(r1, ASR, 1)); // Un-smi-tag value. | 3593 __ mov(r1, Operand(r1, ASR, 1)); // Un-smi-tag value. |
3592 __ add(pc, r1, Operand(masm_->CodeObject())); | 3594 __ add(pc, r1, Operand(masm_->CodeObject())); |
3593 } | 3595 } |
3594 | 3596 |
3595 | 3597 |
3596 #undef __ | 3598 #undef __ |
3597 | 3599 |
3598 } } // namespace v8::internal | 3600 } } // namespace v8::internal |
3599 | 3601 |
3600 #endif // V8_TARGET_ARCH_ARM | 3602 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |