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_IA32_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 Register index, | 932 Register index, |
933 Register value, | 933 Register value, |
934 uint32_t encoding_mask); | 934 uint32_t encoding_mask); |
935 | 935 |
936 static int SafepointRegisterStackIndex(Register reg) { | 936 static int SafepointRegisterStackIndex(Register reg) { |
937 return SafepointRegisterStackIndex(reg.code()); | 937 return SafepointRegisterStackIndex(reg.code()); |
938 } | 938 } |
939 | 939 |
940 // Activation support. | 940 // Activation support. |
941 void EnterFrame(StackFrame::Type type); | 941 void EnterFrame(StackFrame::Type type); |
| 942 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
942 void LeaveFrame(StackFrame::Type type); | 943 void LeaveFrame(StackFrame::Type type); |
943 | 944 |
944 // Expects object in eax and returns map with validated enum cache | 945 // Expects object in eax and returns map with validated enum cache |
945 // in eax. Assumes that any other register can be used as a scratch. | 946 // in eax. Assumes that any other register can be used as a scratch. |
946 void CheckEnumCache(Label* call_runtime); | 947 void CheckEnumCache(Label* call_runtime); |
947 | 948 |
948 // AllocationMemento support. Arrays may have an associated | 949 // AllocationMemento support. Arrays may have an associated |
949 // AllocationMemento object that can be checked for in order to pretransition | 950 // AllocationMemento object that can be checked for in order to pretransition |
950 // to another type. | 951 // to another type. |
951 // On entry, receiver_reg should point to the array object. | 952 // On entry, receiver_reg should point to the array object. |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1107 } \ | 1108 } \ |
1108 masm-> | 1109 masm-> |
1109 #else | 1110 #else |
1110 #define ACCESS_MASM(masm) masm-> | 1111 #define ACCESS_MASM(masm) masm-> |
1111 #endif | 1112 #endif |
1112 | 1113 |
1113 | 1114 |
1114 } } // namespace v8::internal | 1115 } } // namespace v8::internal |
1115 | 1116 |
1116 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1117 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |