OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_S390_MACRO_ASSEMBLER_S390_H_ | 5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_ |
6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ | 6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1785 | 1785 |
1786 // Load the type feedback vector from a JavaScript frame. | 1786 // Load the type feedback vector from a JavaScript frame. |
1787 void EmitLoadTypeFeedbackVector(Register vector); | 1787 void EmitLoadTypeFeedbackVector(Register vector); |
1788 | 1788 |
1789 // Activation support. | 1789 // Activation support. |
1790 void EnterFrame(StackFrame::Type type, | 1790 void EnterFrame(StackFrame::Type type, |
1791 bool load_constant_pool_pointer_reg = false); | 1791 bool load_constant_pool_pointer_reg = false); |
1792 // Returns the pc offset at which the frame ends. | 1792 // Returns the pc offset at which the frame ends. |
1793 int LeaveFrame(StackFrame::Type type, int stack_adjustment = 0); | 1793 int LeaveFrame(StackFrame::Type type, int stack_adjustment = 0); |
1794 | 1794 |
| 1795 void EnterBuiltinFrame(Register context, Register target, Register argc); |
| 1796 void LeaveBuiltinFrame(Register context, Register target, Register argc); |
| 1797 |
1795 // Expects object in r2 and returns map with validated enum cache | 1798 // Expects object in r2 and returns map with validated enum cache |
1796 // in r2. Assumes that any other register can be used as a scratch. | 1799 // in r2. Assumes that any other register can be used as a scratch. |
1797 void CheckEnumCache(Label* call_runtime); | 1800 void CheckEnumCache(Label* call_runtime); |
1798 | 1801 |
1799 // AllocationMemento support. Arrays may have an associated | 1802 // AllocationMemento support. Arrays may have an associated |
1800 // AllocationMemento object that can be checked for in order to pretransition | 1803 // AllocationMemento object that can be checked for in order to pretransition |
1801 // to another type. | 1804 // to another type. |
1802 // On entry, receiver_reg should point to the array object. | 1805 // On entry, receiver_reg should point to the array object. |
1803 // scratch_reg gets clobbered. | 1806 // scratch_reg gets clobbered. |
1804 // If allocation info is present, condition flags are set to eq. | 1807 // If allocation info is present, condition flags are set to eq. |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1911 #define ACCESS_MASM(masm) \ | 1914 #define ACCESS_MASM(masm) \ |
1912 masm->stop(__FILE_LINE__); \ | 1915 masm->stop(__FILE_LINE__); \ |
1913 masm-> | 1916 masm-> |
1914 #else | 1917 #else |
1915 #define ACCESS_MASM(masm) masm-> | 1918 #define ACCESS_MASM(masm) masm-> |
1916 #endif | 1919 #endif |
1917 } // namespace internal | 1920 } // namespace internal |
1918 } // namespace v8 | 1921 } // namespace v8 |
1919 | 1922 |
1920 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ | 1923 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ |
OLD | NEW |