| 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" |
| (...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 void CallCFunction(ExternalReference function, | 1107 void CallCFunction(ExternalReference function, |
| 1108 int num_reg_arguments, | 1108 int num_reg_arguments, |
| 1109 int num_double_arguments); | 1109 int num_double_arguments); |
| 1110 void CallCFunction(Register function, | 1110 void CallCFunction(Register function, |
| 1111 int num_reg_arguments, | 1111 int num_reg_arguments, |
| 1112 int num_double_arguments); | 1112 int num_double_arguments); |
| 1113 | 1113 |
| 1114 void MovFromFloatParameter(DwVfpRegister dst); | 1114 void MovFromFloatParameter(DwVfpRegister dst); |
| 1115 void MovFromFloatResult(DwVfpRegister dst); | 1115 void MovFromFloatResult(DwVfpRegister dst); |
| 1116 | 1116 |
| 1117 // Calls an API function. Allocates HandleScope, extracts returned value | |
| 1118 // from handle and propagates exceptions. Restores context. stack_space | |
| 1119 // - space to be unwound on exit (includes the call JS arguments space and | |
| 1120 // the additional space allocated for the fast call). | |
| 1121 void CallApiFunctionAndReturn(Register function_address, | |
| 1122 ExternalReference thunk_ref, int stack_space, | |
| 1123 MemOperand* stack_space_operand, | |
| 1124 MemOperand return_value_operand, | |
| 1125 MemOperand* context_restore_operand); | |
| 1126 | |
| 1127 // Jump to a runtime routine. | 1117 // Jump to a runtime routine. |
| 1128 void JumpToExternalReference(const ExternalReference& builtin); | 1118 void JumpToExternalReference(const ExternalReference& builtin); |
| 1129 | 1119 |
| 1130 // Invoke specified builtin JavaScript function. Adds an entry to | 1120 // Invoke specified builtin JavaScript function. Adds an entry to |
| 1131 // the unresolved list if the name does not resolve. | 1121 // the unresolved list if the name does not resolve. |
| 1132 void InvokeBuiltin(Builtins::JavaScript id, | 1122 void InvokeBuiltin(Builtins::JavaScript id, |
| 1133 InvokeFlag flag, | 1123 InvokeFlag flag, |
| 1134 const CallWrapper& call_wrapper = NullCallWrapper()); | 1124 const CallWrapper& call_wrapper = NullCallWrapper()); |
| 1135 | 1125 |
| 1136 // Store the code object for the given builtin in the target register and | 1126 // Store the code object for the given builtin in the target register and |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1550 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1540 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1551 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1541 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1552 #else | 1542 #else |
| 1553 #define ACCESS_MASM(masm) masm-> | 1543 #define ACCESS_MASM(masm) masm-> |
| 1554 #endif | 1544 #endif |
| 1555 | 1545 |
| 1556 | 1546 |
| 1557 } } // namespace v8::internal | 1547 } } // namespace v8::internal |
| 1558 | 1548 |
| 1559 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1549 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |