| 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 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1556 void DecodeFieldToSmi(Register reg) { | 1556 void DecodeFieldToSmi(Register reg) { |
| 1557 DecodeField<Field>(reg, reg); | 1557 DecodeField<Field>(reg, reg); |
| 1558 } | 1558 } |
| 1559 | 1559 |
| 1560 // Generates function and stub prologue code. | 1560 // Generates function and stub prologue code. |
| 1561 void StubPrologue(); | 1561 void StubPrologue(); |
| 1562 void Prologue(bool code_pre_aging); | 1562 void Prologue(bool code_pre_aging); |
| 1563 | 1563 |
| 1564 // Activation support. | 1564 // Activation support. |
| 1565 void EnterFrame(StackFrame::Type type); | 1565 void EnterFrame(StackFrame::Type type); |
| 1566 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
| 1566 void LeaveFrame(StackFrame::Type type); | 1567 void LeaveFrame(StackFrame::Type type); |
| 1567 | 1568 |
| 1568 // Patch the relocated value (lui/ori pair). | 1569 // Patch the relocated value (lui/ori pair). |
| 1569 void PatchRelocatedValue(Register li_location, | 1570 void PatchRelocatedValue(Register li_location, |
| 1570 Register scratch, | 1571 Register scratch, |
| 1571 Register new_value); | 1572 Register new_value); |
| 1572 // Get the relocatad value (loaded data) from the lui/ori pair. | 1573 // Get the relocatad value (loaded data) from the lui/ori pair. |
| 1573 void GetRelocatedValue(Register li_location, | 1574 void GetRelocatedValue(Register li_location, |
| 1574 Register value, | 1575 Register value, |
| 1575 Register scratch); | 1576 Register scratch); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1718 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1719 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1719 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1720 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1720 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1721 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1721 #else | 1722 #else |
| 1722 #define ACCESS_MASM(masm) masm-> | 1723 #define ACCESS_MASM(masm) masm-> |
| 1723 #endif | 1724 #endif |
| 1724 | 1725 |
| 1725 } } // namespace v8::internal | 1726 } } // namespace v8::internal |
| 1726 | 1727 |
| 1727 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1728 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |