| 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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
| 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 Register index, | 899 Register index, |
| 900 Register value, | 900 Register value, |
| 901 uint32_t encoding_mask); | 901 uint32_t encoding_mask); |
| 902 | 902 |
| 903 static int SafepointRegisterStackIndex(Register reg) { | 903 static int SafepointRegisterStackIndex(Register reg) { |
| 904 return SafepointRegisterStackIndex(reg.code()); | 904 return SafepointRegisterStackIndex(reg.code()); |
| 905 } | 905 } |
| 906 | 906 |
| 907 // Activation support. | 907 // Activation support. |
| 908 void EnterFrame(StackFrame::Type type); | 908 void EnterFrame(StackFrame::Type type); |
| 909 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
| 909 void LeaveFrame(StackFrame::Type type); | 910 void LeaveFrame(StackFrame::Type type); |
| 910 | 911 |
| 911 // Expects object in eax and returns map with validated enum cache | 912 // Expects object in eax and returns map with validated enum cache |
| 912 // in eax. Assumes that any other register can be used as a scratch. | 913 // in eax. Assumes that any other register can be used as a scratch. |
| 913 void CheckEnumCache(Label* call_runtime); | 914 void CheckEnumCache(Label* call_runtime); |
| 914 | 915 |
| 915 // AllocationMemento support. Arrays may have an associated | 916 // AllocationMemento support. Arrays may have an associated |
| 916 // AllocationMemento object that can be checked for in order to pretransition | 917 // AllocationMemento object that can be checked for in order to pretransition |
| 917 // to another type. | 918 // to another type. |
| 918 // On entry, receiver_reg should point to the array object. | 919 // On entry, receiver_reg should point to the array object. |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1074 } \ | 1075 } \ |
| 1075 masm-> | 1076 masm-> |
| 1076 #else | 1077 #else |
| 1077 #define ACCESS_MASM(masm) masm-> | 1078 #define ACCESS_MASM(masm) masm-> |
| 1078 #endif | 1079 #endif |
| 1079 | 1080 |
| 1080 | 1081 |
| 1081 } } // namespace v8::internal | 1082 } } // namespace v8::internal |
| 1082 | 1083 |
| 1083 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1084 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |