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 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1580 | 1580 |
1581 template<typename Field> | 1581 template<typename Field> |
1582 void DecodeFieldToSmi(Register reg) { | 1582 void DecodeFieldToSmi(Register reg) { |
1583 DecodeField<Field>(reg, reg); | 1583 DecodeField<Field>(reg, reg); |
1584 } | 1584 } |
1585 | 1585 |
1586 // Generates function and stub prologue code. | 1586 // Generates function and stub prologue code. |
1587 void StubPrologue(); | 1587 void StubPrologue(); |
1588 void Prologue(bool code_pre_aging); | 1588 void Prologue(bool code_pre_aging); |
1589 | 1589 |
| 1590 // Load the type feedback vector from a JavaScript frame. |
| 1591 void EmitLoadTypeFeedbackVector(Register vector); |
| 1592 |
1590 // Activation support. | 1593 // Activation support. |
1591 void EnterFrame(StackFrame::Type type); | 1594 void EnterFrame(StackFrame::Type type); |
1592 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1595 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
1593 void LeaveFrame(StackFrame::Type type); | 1596 void LeaveFrame(StackFrame::Type type); |
1594 | 1597 |
1595 // Expects object in a0 and returns map with validated enum cache | 1598 // Expects object in a0 and returns map with validated enum cache |
1596 // in a0. Assumes that any other register can be used as a scratch. | 1599 // in a0. Assumes that any other register can be used as a scratch. |
1597 void CheckEnumCache(Register null_value, Label* call_runtime); | 1600 void CheckEnumCache(Register null_value, Label* call_runtime); |
1598 | 1601 |
1599 // AllocationMemento support. Arrays may have an associated | 1602 // AllocationMemento support. Arrays may have an associated |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1737 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1740 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1738 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1741 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1739 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1742 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1740 #else | 1743 #else |
1741 #define ACCESS_MASM(masm) masm-> | 1744 #define ACCESS_MASM(masm) masm-> |
1742 #endif | 1745 #endif |
1743 | 1746 |
1744 } } // namespace v8::internal | 1747 } } // namespace v8::internal |
1745 | 1748 |
1746 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1749 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |