| 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 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1137 void CallCFunction(Register function, | 1137 void CallCFunction(Register function, |
| 1138 int num_reg_arguments, | 1138 int num_reg_arguments, |
| 1139 int num_double_arguments); | 1139 int num_double_arguments); |
| 1140 | 1140 |
| 1141 void MovFromFloatParameter(DwVfpRegister dst); | 1141 void MovFromFloatParameter(DwVfpRegister dst); |
| 1142 void MovFromFloatResult(DwVfpRegister dst); | 1142 void MovFromFloatResult(DwVfpRegister dst); |
| 1143 | 1143 |
| 1144 // Jump to a runtime routine. | 1144 // Jump to a runtime routine. |
| 1145 void JumpToExternalReference(const ExternalReference& builtin); | 1145 void JumpToExternalReference(const ExternalReference& builtin); |
| 1146 | 1146 |
| 1147 // Invoke specified builtin JavaScript function. | |
| 1148 void InvokeBuiltin(int native_context_index, InvokeFlag flag, | |
| 1149 const CallWrapper& call_wrapper = NullCallWrapper()); | |
| 1150 | |
| 1151 Handle<Object> CodeObject() { | 1147 Handle<Object> CodeObject() { |
| 1152 DCHECK(!code_object_.is_null()); | 1148 DCHECK(!code_object_.is_null()); |
| 1153 return code_object_; | 1149 return code_object_; |
| 1154 } | 1150 } |
| 1155 | 1151 |
| 1156 | 1152 |
| 1157 // Emit code for a truncating division by a constant. The dividend register is | 1153 // Emit code for a truncating division by a constant. The dividend register is |
| 1158 // unchanged and ip gets clobbered. Dividend and result must be different. | 1154 // unchanged and ip gets clobbered. Dividend and result must be different. |
| 1159 void TruncatingDiv(Register result, Register dividend, int32_t divisor); | 1155 void TruncatingDiv(Register result, Register dividend, int32_t divisor); |
| 1160 | 1156 |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1546 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1542 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1547 #else | 1543 #else |
| 1548 #define ACCESS_MASM(masm) masm-> | 1544 #define ACCESS_MASM(masm) masm-> |
| 1549 #endif | 1545 #endif |
| 1550 | 1546 |
| 1551 | 1547 |
| 1552 } // namespace internal | 1548 } // namespace internal |
| 1553 } // namespace v8 | 1549 } // namespace v8 |
| 1554 | 1550 |
| 1555 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1551 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |