| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_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 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 998 int num_double_arguments); | 998 int num_double_arguments); |
| 999 void CallCFunction(Register function, int num_reg_arguments, | 999 void CallCFunction(Register function, int num_reg_arguments, |
| 1000 int num_double_arguments); | 1000 int num_double_arguments); |
| 1001 | 1001 |
| 1002 void MovFromFloatParameter(DoubleRegister dst); | 1002 void MovFromFloatParameter(DoubleRegister dst); |
| 1003 void MovFromFloatResult(DoubleRegister dst); | 1003 void MovFromFloatResult(DoubleRegister dst); |
| 1004 | 1004 |
| 1005 // Jump to a runtime routine. | 1005 // Jump to a runtime routine. |
| 1006 void JumpToExternalReference(const ExternalReference& builtin); | 1006 void JumpToExternalReference(const ExternalReference& builtin); |
| 1007 | 1007 |
| 1008 // Invoke specified builtin JavaScript function. | |
| 1009 void InvokeBuiltin(int native_context_index, InvokeFlag flag, | |
| 1010 const CallWrapper& call_wrapper = NullCallWrapper()); | |
| 1011 | |
| 1012 Handle<Object> CodeObject() { | 1008 Handle<Object> CodeObject() { |
| 1013 DCHECK(!code_object_.is_null()); | 1009 DCHECK(!code_object_.is_null()); |
| 1014 return code_object_; | 1010 return code_object_; |
| 1015 } | 1011 } |
| 1016 | 1012 |
| 1017 | 1013 |
| 1018 // Emit code for a truncating division by a constant. The dividend register is | 1014 // Emit code for a truncating division by a constant. The dividend register is |
| 1019 // unchanged and ip gets clobbered. Dividend and result must be different. | 1015 // unchanged and ip gets clobbered. Dividend and result must be different. |
| 1020 void TruncatingDiv(Register result, Register dividend, int32_t divisor); | 1016 void TruncatingDiv(Register result, Register dividend, int32_t divisor); |
| 1021 | 1017 |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1588 #define ACCESS_MASM(masm) \ | 1584 #define ACCESS_MASM(masm) \ |
| 1589 masm->stop(__FILE_LINE__); \ | 1585 masm->stop(__FILE_LINE__); \ |
| 1590 masm-> | 1586 masm-> |
| 1591 #else | 1587 #else |
| 1592 #define ACCESS_MASM(masm) masm-> | 1588 #define ACCESS_MASM(masm) masm-> |
| 1593 #endif | 1589 #endif |
| 1594 } // namespace internal | 1590 } // namespace internal |
| 1595 } // namespace v8 | 1591 } // namespace v8 |
| 1596 | 1592 |
| 1597 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1593 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| OLD | NEW |