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 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1713 void Prologue(bool code_pre_aging); | 1713 void Prologue(bool code_pre_aging); |
1714 | 1714 |
1715 // Load the type feedback vector from a JavaScript frame. | 1715 // Load the type feedback vector from a JavaScript frame. |
1716 void EmitLoadTypeFeedbackVector(Register vector); | 1716 void EmitLoadTypeFeedbackVector(Register vector); |
1717 | 1717 |
1718 // Activation support. | 1718 // Activation support. |
1719 void EnterFrame(StackFrame::Type type); | 1719 void EnterFrame(StackFrame::Type type); |
1720 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1720 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
1721 void LeaveFrame(StackFrame::Type type); | 1721 void LeaveFrame(StackFrame::Type type); |
1722 | 1722 |
| 1723 void EnterBuiltinFrame(Register context, Register target, Register argc); |
| 1724 void LeaveBuiltinFrame(Register context, Register target, Register argc); |
| 1725 |
1723 // Expects object in a0 and returns map with validated enum cache | 1726 // Expects object in a0 and returns map with validated enum cache |
1724 // in a0. Assumes that any other register can be used as a scratch. | 1727 // in a0. Assumes that any other register can be used as a scratch. |
1725 void CheckEnumCache(Label* call_runtime); | 1728 void CheckEnumCache(Label* call_runtime); |
1726 | 1729 |
1727 // AllocationMemento support. Arrays may have an associated AllocationMemento | 1730 // AllocationMemento support. Arrays may have an associated AllocationMemento |
1728 // object that can be checked for in order to pretransition to another type. | 1731 // object that can be checked for in order to pretransition to another type. |
1729 // On entry, receiver_reg should point to the array object. scratch_reg gets | 1732 // On entry, receiver_reg should point to the array object. scratch_reg gets |
1730 // clobbered. If no info is present jump to no_memento_found, otherwise fall | 1733 // clobbered. If no info is present jump to no_memento_found, otherwise fall |
1731 // through. | 1734 // through. |
1732 void TestJSArrayForAllocationMemento(Register receiver_reg, | 1735 void TestJSArrayForAllocationMemento(Register receiver_reg, |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1901 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1904 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1902 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1905 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1903 #else | 1906 #else |
1904 #define ACCESS_MASM(masm) masm-> | 1907 #define ACCESS_MASM(masm) masm-> |
1905 #endif | 1908 #endif |
1906 | 1909 |
1907 } // namespace internal | 1910 } // namespace internal |
1908 } // namespace v8 | 1911 } // namespace v8 |
1909 | 1912 |
1910 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1913 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |