| 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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 | 947 |
| 948 void EmitSeqStringSetCharCheck(Register string, | 948 void EmitSeqStringSetCharCheck(Register string, |
| 949 Register index, | 949 Register index, |
| 950 Register value, | 950 Register value, |
| 951 uint32_t encoding_mask); | 951 uint32_t encoding_mask); |
| 952 | 952 |
| 953 static int SafepointRegisterStackIndex(Register reg) { | 953 static int SafepointRegisterStackIndex(Register reg) { |
| 954 return SafepointRegisterStackIndex(reg.code()); | 954 return SafepointRegisterStackIndex(reg.code()); |
| 955 } | 955 } |
| 956 | 956 |
| 957 // Load the type feedback vector from a JavaScript frame. |
| 958 void EmitLoadTypeFeedbackVector(Register vector); |
| 959 |
| 957 // Activation support. | 960 // Activation support. |
| 958 void EnterFrame(StackFrame::Type type); | 961 void EnterFrame(StackFrame::Type type); |
| 959 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 962 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
| 960 void LeaveFrame(StackFrame::Type type); | 963 void LeaveFrame(StackFrame::Type type); |
| 961 | 964 |
| 962 // Expects object in eax and returns map with validated enum cache | 965 // Expects object in eax and returns map with validated enum cache |
| 963 // in eax. Assumes that any other register can be used as a scratch. | 966 // in eax. Assumes that any other register can be used as a scratch. |
| 964 void CheckEnumCache(Label* call_runtime); | 967 void CheckEnumCache(Label* call_runtime); |
| 965 | 968 |
| 966 // AllocationMemento support. Arrays may have an associated | 969 // AllocationMemento support. Arrays may have an associated |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1122 } \ | 1125 } \ |
| 1123 masm-> | 1126 masm-> |
| 1124 #else | 1127 #else |
| 1125 #define ACCESS_MASM(masm) masm-> | 1128 #define ACCESS_MASM(masm) masm-> |
| 1126 #endif | 1129 #endif |
| 1127 | 1130 |
| 1128 | 1131 |
| 1129 } } // namespace v8::internal | 1132 } } // namespace v8::internal |
| 1130 | 1133 |
| 1131 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1134 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |