| 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/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
| (...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 // abstract parameter passing for the three different ways we call | 1443 // abstract parameter passing for the three different ways we call |
| 1444 // C functions from generated code. | 1444 // C functions from generated code. |
| 1445 void MovToFloatParameter(DoubleRegister src); | 1445 void MovToFloatParameter(DoubleRegister src); |
| 1446 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2); | 1446 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2); |
| 1447 void MovToFloatResult(DoubleRegister src); | 1447 void MovToFloatResult(DoubleRegister src); |
| 1448 | 1448 |
| 1449 // Jump to the builtin routine. | 1449 // Jump to the builtin routine. |
| 1450 void JumpToExternalReference(const ExternalReference& builtin, | 1450 void JumpToExternalReference(const ExternalReference& builtin, |
| 1451 BranchDelaySlot bd = PROTECT); | 1451 BranchDelaySlot bd = PROTECT); |
| 1452 | 1452 |
| 1453 // Invoke specified builtin JavaScript function. | |
| 1454 void InvokeBuiltin(int native_context_index, InvokeFlag flag, | |
| 1455 const CallWrapper& call_wrapper = NullCallWrapper()); | |
| 1456 | |
| 1457 struct Unresolved { | 1453 struct Unresolved { |
| 1458 int pc; | 1454 int pc; |
| 1459 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders. | 1455 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders. |
| 1460 const char* name; | 1456 const char* name; |
| 1461 }; | 1457 }; |
| 1462 | 1458 |
| 1463 Handle<Object> CodeObject() { | 1459 Handle<Object> CodeObject() { |
| 1464 DCHECK(!code_object_.is_null()); | 1460 DCHECK(!code_object_.is_null()); |
| 1465 return code_object_; | 1461 return code_object_; |
| 1466 } | 1462 } |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1910 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1906 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1911 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1907 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1912 #else | 1908 #else |
| 1913 #define ACCESS_MASM(masm) masm-> | 1909 #define ACCESS_MASM(masm) masm-> |
| 1914 #endif | 1910 #endif |
| 1915 | 1911 |
| 1916 } // namespace internal | 1912 } // namespace internal |
| 1917 } // namespace v8 | 1913 } // namespace v8 |
| 1918 | 1914 |
| 1919 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1915 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |