| 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_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 #include "src/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
| (...skipping 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 // abstract parameter passing for the three different ways we call | 1321 // abstract parameter passing for the three different ways we call |
| 1322 // C functions from generated code. | 1322 // C functions from generated code. |
| 1323 void MovToFloatParameter(DoubleRegister src); | 1323 void MovToFloatParameter(DoubleRegister src); |
| 1324 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2); | 1324 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2); |
| 1325 void MovToFloatResult(DoubleRegister src); | 1325 void MovToFloatResult(DoubleRegister src); |
| 1326 | 1326 |
| 1327 // Jump to the builtin routine. | 1327 // Jump to the builtin routine. |
| 1328 void JumpToExternalReference(const ExternalReference& builtin, | 1328 void JumpToExternalReference(const ExternalReference& builtin, |
| 1329 BranchDelaySlot bd = PROTECT); | 1329 BranchDelaySlot bd = PROTECT); |
| 1330 | 1330 |
| 1331 // Invoke specified builtin JavaScript function. | |
| 1332 void InvokeBuiltin(int native_context_index, InvokeFlag flag, | |
| 1333 const CallWrapper& call_wrapper = NullCallWrapper()); | |
| 1334 | |
| 1335 struct Unresolved { | 1331 struct Unresolved { |
| 1336 int pc; | 1332 int pc; |
| 1337 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders. | 1333 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders. |
| 1338 const char* name; | 1334 const char* name; |
| 1339 }; | 1335 }; |
| 1340 | 1336 |
| 1341 Handle<Object> CodeObject() { | 1337 Handle<Object> CodeObject() { |
| 1342 DCHECK(!code_object_.is_null()); | 1338 DCHECK(!code_object_.is_null()); |
| 1343 return code_object_; | 1339 return code_object_; |
| 1344 } | 1340 } |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1758 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1754 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1759 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1755 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1760 #else | 1756 #else |
| 1761 #define ACCESS_MASM(masm) masm-> | 1757 #define ACCESS_MASM(masm) masm-> |
| 1762 #endif | 1758 #endif |
| 1763 | 1759 |
| 1764 } // namespace internal | 1760 } // namespace internal |
| 1765 } // namespace v8 | 1761 } // namespace v8 |
| 1766 | 1762 |
| 1767 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1763 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |