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 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1846 void Prologue(bool code_pre_aging); | 1846 void Prologue(bool code_pre_aging); |
1847 | 1847 |
1848 // Load the type feedback vector from a JavaScript frame. | 1848 // Load the type feedback vector from a JavaScript frame. |
1849 void EmitLoadTypeFeedbackVector(Register vector); | 1849 void EmitLoadTypeFeedbackVector(Register vector); |
1850 | 1850 |
1851 // Activation support. | 1851 // Activation support. |
1852 void EnterFrame(StackFrame::Type type); | 1852 void EnterFrame(StackFrame::Type type); |
1853 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1853 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
1854 void LeaveFrame(StackFrame::Type type); | 1854 void LeaveFrame(StackFrame::Type type); |
1855 | 1855 |
| 1856 void EnterBuiltinFrame(Register context, Register target, Register argc); |
| 1857 void LeaveBuiltinFrame(Register context, Register target, Register argc); |
| 1858 |
1856 // Expects object in a0 and returns map with validated enum cache | 1859 // Expects object in a0 and returns map with validated enum cache |
1857 // in a0. Assumes that any other register can be used as a scratch. | 1860 // in a0. Assumes that any other register can be used as a scratch. |
1858 void CheckEnumCache(Label* call_runtime); | 1861 void CheckEnumCache(Label* call_runtime); |
1859 | 1862 |
1860 // AllocationMemento support. Arrays may have an associated AllocationMemento | 1863 // AllocationMemento support. Arrays may have an associated AllocationMemento |
1861 // object that can be checked for in order to pretransition to another type. | 1864 // object that can be checked for in order to pretransition to another type. |
1862 // On entry, receiver_reg should point to the array object. scratch_reg gets | 1865 // On entry, receiver_reg should point to the array object. scratch_reg gets |
1863 // clobbered. If no info is present jump to no_memento_found, otherwise fall | 1866 // clobbered. If no info is present jump to no_memento_found, otherwise fall |
1864 // through. | 1867 // through. |
1865 void TestJSArrayForAllocationMemento(Register receiver_reg, | 1868 void TestJSArrayForAllocationMemento(Register receiver_reg, |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2042 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2045 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2043 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2046 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2044 #else | 2047 #else |
2045 #define ACCESS_MASM(masm) masm-> | 2048 #define ACCESS_MASM(masm) masm-> |
2046 #endif | 2049 #endif |
2047 | 2050 |
2048 } // namespace internal | 2051 } // namespace internal |
2049 } // namespace v8 | 2052 } // namespace v8 |
2050 | 2053 |
2051 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 2054 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |