| 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 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1664 } | 1664 } |
| 1665 | 1665 |
| 1666 template<typename Field> | 1666 template<typename Field> |
| 1667 void DecodeFieldToSmi(Register reg) { | 1667 void DecodeFieldToSmi(Register reg) { |
| 1668 DecodeField<Field>(reg, reg); | 1668 DecodeField<Field>(reg, reg); |
| 1669 } | 1669 } |
| 1670 // Generates function and stub prologue code. | 1670 // Generates function and stub prologue code. |
| 1671 void StubPrologue(); | 1671 void StubPrologue(); |
| 1672 void Prologue(bool code_pre_aging); | 1672 void Prologue(bool code_pre_aging); |
| 1673 | 1673 |
| 1674 // Load the type feedback vector from a JavaScript frame. |
| 1675 void EmitLoadTypeFeedbackVector(Register vector); |
| 1676 |
| 1674 // Activation support. | 1677 // Activation support. |
| 1675 void EnterFrame(StackFrame::Type type); | 1678 void EnterFrame(StackFrame::Type type); |
| 1676 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1679 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
| 1677 void LeaveFrame(StackFrame::Type type); | 1680 void LeaveFrame(StackFrame::Type type); |
| 1678 | 1681 |
| 1679 // Expects object in a0 and returns map with validated enum cache | 1682 // Expects object in a0 and returns map with validated enum cache |
| 1680 // in a0. Assumes that any other register can be used as a scratch. | 1683 // in a0. Assumes that any other register can be used as a scratch. |
| 1681 void CheckEnumCache(Register null_value, Label* call_runtime); | 1684 void CheckEnumCache(Register null_value, Label* call_runtime); |
| 1682 | 1685 |
| 1683 // AllocationMemento support. Arrays may have an associated | 1686 // AllocationMemento support. Arrays may have an associated |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1824 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1827 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1825 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1828 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1826 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1829 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1827 #else | 1830 #else |
| 1828 #define ACCESS_MASM(masm) masm-> | 1831 #define ACCESS_MASM(masm) masm-> |
| 1829 #endif | 1832 #endif |
| 1830 | 1833 |
| 1831 } } // namespace v8::internal | 1834 } } // namespace v8::internal |
| 1832 | 1835 |
| 1833 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1836 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |