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 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1737 // Load the type feedback vector from a JavaScript frame. | 1737 // Load the type feedback vector from a JavaScript frame. |
1738 void EmitLoadTypeFeedbackVector(Register vector); | 1738 void EmitLoadTypeFeedbackVector(Register vector); |
1739 | 1739 |
1740 // Activation support. | 1740 // Activation support. |
1741 void EnterFrame(StackFrame::Type type); | 1741 void EnterFrame(StackFrame::Type type); |
1742 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1742 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
1743 void LeaveFrame(StackFrame::Type type); | 1743 void LeaveFrame(StackFrame::Type type); |
1744 | 1744 |
1745 // Expects object in a0 and returns map with validated enum cache | 1745 // Expects object in a0 and returns map with validated enum cache |
1746 // in a0. Assumes that any other register can be used as a scratch. | 1746 // in a0. Assumes that any other register can be used as a scratch. |
1747 void CheckEnumCache(Register null_value, Label* call_runtime); | 1747 void CheckEnumCache(Label* call_runtime); |
1748 | 1748 |
1749 // AllocationMemento support. Arrays may have an associated | 1749 // AllocationMemento support. Arrays may have an associated |
1750 // AllocationMemento object that can be checked for in order to pretransition | 1750 // AllocationMemento object that can be checked for in order to pretransition |
1751 // to another type. | 1751 // to another type. |
1752 // On entry, receiver_reg should point to the array object. | 1752 // On entry, receiver_reg should point to the array object. |
1753 // scratch_reg gets clobbered. | 1753 // scratch_reg gets clobbered. |
1754 // If allocation info is present, jump to allocation_memento_present. | 1754 // If allocation info is present, jump to allocation_memento_present. |
1755 void TestJSArrayForAllocationMemento( | 1755 void TestJSArrayForAllocationMemento( |
1756 Register receiver_reg, | 1756 Register receiver_reg, |
1757 Register scratch_reg, | 1757 Register scratch_reg, |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1906 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1906 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1907 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1907 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1908 #else | 1908 #else |
1909 #define ACCESS_MASM(masm) masm-> | 1909 #define ACCESS_MASM(masm) masm-> |
1910 #endif | 1910 #endif |
1911 | 1911 |
1912 } // namespace internal | 1912 } // namespace internal |
1913 } // namespace v8 | 1913 } // namespace v8 |
1914 | 1914 |
1915 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1915 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |