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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 | 901 |
902 void EmitSeqStringSetCharCheck(Register string, | 902 void EmitSeqStringSetCharCheck(Register string, |
903 Register index, | 903 Register index, |
904 Register value, | 904 Register value, |
905 uint32_t encoding_mask); | 905 uint32_t encoding_mask); |
906 | 906 |
907 static int SafepointRegisterStackIndex(Register reg) { | 907 static int SafepointRegisterStackIndex(Register reg) { |
908 return SafepointRegisterStackIndex(reg.code()); | 908 return SafepointRegisterStackIndex(reg.code()); |
909 } | 909 } |
910 | 910 |
| 911 // Load the type feedback vector from a JavaScript frame. |
| 912 void EmitLoadTypeFeedbackVector(Register vector); |
| 913 |
911 // Activation support. | 914 // Activation support. |
912 void EnterFrame(StackFrame::Type type); | 915 void EnterFrame(StackFrame::Type type); |
913 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 916 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
914 void LeaveFrame(StackFrame::Type type); | 917 void LeaveFrame(StackFrame::Type type); |
915 | 918 |
916 // Expects object in eax and returns map with validated enum cache | 919 // Expects object in eax and returns map with validated enum cache |
917 // in eax. Assumes that any other register can be used as a scratch. | 920 // in eax. Assumes that any other register can be used as a scratch. |
918 void CheckEnumCache(Label* call_runtime); | 921 void CheckEnumCache(Label* call_runtime); |
919 | 922 |
920 // AllocationMemento support. Arrays may have an associated | 923 // AllocationMemento support. Arrays may have an associated |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 } \ | 1079 } \ |
1077 masm-> | 1080 masm-> |
1078 #else | 1081 #else |
1079 #define ACCESS_MASM(masm) masm-> | 1082 #define ACCESS_MASM(masm) masm-> |
1080 #endif | 1083 #endif |
1081 | 1084 |
1082 | 1085 |
1083 } } // namespace v8::internal | 1086 } } // namespace v8::internal |
1084 | 1087 |
1085 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1088 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |