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