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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, | 960 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, |
961 &no_memento_found); | 961 &no_memento_found); |
962 j(equal, memento_found); | 962 j(equal, memento_found); |
963 bind(&no_memento_found); | 963 bind(&no_memento_found); |
964 } | 964 } |
965 | 965 |
966 // Jumps to found label if a prototype map has dictionary elements. | 966 // Jumps to found label if a prototype map has dictionary elements. |
967 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, | 967 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, |
968 Register scratch1, Label* found); | 968 Register scratch1, Label* found); |
969 | 969 |
| 970 // OSR needs to adjust locals on the stack down one word over the vector. |
| 971 void AdaptUnoptimizedFrameForOsrEntry(int unoptimized_slot_count, |
| 972 Register scratch0, Register scratch1); |
| 973 |
970 private: | 974 private: |
971 bool generating_stub_; | 975 bool generating_stub_; |
972 bool has_frame_; | 976 bool has_frame_; |
973 // This handle will be patched with the code object on installation. | 977 // This handle will be patched with the code object on installation. |
974 Handle<Object> code_object_; | 978 Handle<Object> code_object_; |
975 | 979 |
976 // Helper functions for generating invokes. | 980 // Helper functions for generating invokes. |
977 void InvokePrologue(const ParameterCount& expected, | 981 void InvokePrologue(const ParameterCount& expected, |
978 const ParameterCount& actual, | 982 const ParameterCount& actual, |
979 Handle<Code> code_constant, | 983 Handle<Code> code_constant, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 } \ | 1101 } \ |
1098 masm-> | 1102 masm-> |
1099 #else | 1103 #else |
1100 #define ACCESS_MASM(masm) masm-> | 1104 #define ACCESS_MASM(masm) masm-> |
1101 #endif | 1105 #endif |
1102 | 1106 |
1103 | 1107 |
1104 } } // namespace v8::internal | 1108 } } // namespace v8::internal |
1105 | 1109 |
1106 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1110 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |