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 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
11 #include "src/globals.h" | 11 #include "src/globals.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 // Give alias names to registers for calling conventions. | 16 // Give alias names to registers for calling conventions. |
17 const Register kReturnRegister0 = {Register::kCode_r0}; | 17 const Register kReturnRegister0 = {Register::kCode_r0}; |
18 const Register kReturnRegister1 = {Register::kCode_r1}; | 18 const Register kReturnRegister1 = {Register::kCode_r1}; |
19 const Register kReturnRegister2 = {Register::kCode_r2}; | 19 const Register kReturnRegister2 = {Register::kCode_r2}; |
20 const Register kJSFunctionRegister = {Register::kCode_r1}; | 20 const Register kJSFunctionRegister = {Register::kCode_r1}; |
21 const Register kContextRegister = {Register::kCode_r7}; | 21 const Register kContextRegister = {Register::kCode_r7}; |
| 22 const Register kAllocateSizeRegister = {Register::kCode_r1}; |
22 const Register kInterpreterAccumulatorRegister = {Register::kCode_r0}; | 23 const Register kInterpreterAccumulatorRegister = {Register::kCode_r0}; |
23 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_r5}; | 24 const Register kInterpreterBytecodeOffsetRegister = {Register::kCode_r5}; |
24 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_r6}; | 25 const Register kInterpreterBytecodeArrayRegister = {Register::kCode_r6}; |
25 const Register kInterpreterDispatchTableRegister = {Register::kCode_r8}; | 26 const Register kInterpreterDispatchTableRegister = {Register::kCode_r8}; |
26 const Register kJavaScriptCallArgCountRegister = {Register::kCode_r0}; | 27 const Register kJavaScriptCallArgCountRegister = {Register::kCode_r0}; |
27 const Register kJavaScriptCallNewTargetRegister = {Register::kCode_r3}; | 28 const Register kJavaScriptCallNewTargetRegister = {Register::kCode_r3}; |
28 const Register kRuntimeCallFunctionRegister = {Register::kCode_r1}; | 29 const Register kRuntimeCallFunctionRegister = {Register::kCode_r1}; |
29 const Register kRuntimeCallArgCountRegister = {Register::kCode_r0}; | 30 const Register kRuntimeCallArgCountRegister = {Register::kCode_r0}; |
30 | 31 |
31 // ---------------------------------------------------------------------------- | 32 // ---------------------------------------------------------------------------- |
(...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1569 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1570 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1570 #else | 1571 #else |
1571 #define ACCESS_MASM(masm) masm-> | 1572 #define ACCESS_MASM(masm) masm-> |
1572 #endif | 1573 #endif |
1573 | 1574 |
1574 | 1575 |
1575 } // namespace internal | 1576 } // namespace internal |
1576 } // namespace v8 | 1577 } // namespace v8 |
1577 | 1578 |
1578 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1579 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |