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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 } | 925 } |
926 | 926 |
927 // Load the type feedback vector from a JavaScript frame. | 927 // Load the type feedback vector from a JavaScript frame. |
928 void EmitLoadTypeFeedbackVector(Register vector); | 928 void EmitLoadTypeFeedbackVector(Register vector); |
929 | 929 |
930 // Activation support. | 930 // Activation support. |
931 void EnterFrame(StackFrame::Type type); | 931 void EnterFrame(StackFrame::Type type); |
932 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 932 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
933 void LeaveFrame(StackFrame::Type type); | 933 void LeaveFrame(StackFrame::Type type); |
934 | 934 |
| 935 void EnterBuiltinFrame(Register context, Register target, Register argc); |
| 936 void LeaveBuiltinFrame(Register context, Register target, Register argc); |
| 937 |
935 // Expects object in eax and returns map with validated enum cache | 938 // Expects object in eax and returns map with validated enum cache |
936 // in eax. Assumes that any other register can be used as a scratch. | 939 // in eax. Assumes that any other register can be used as a scratch. |
937 void CheckEnumCache(Label* call_runtime); | 940 void CheckEnumCache(Label* call_runtime); |
938 | 941 |
939 // AllocationMemento support. Arrays may have an associated | 942 // AllocationMemento support. Arrays may have an associated |
940 // AllocationMemento object that can be checked for in order to pretransition | 943 // AllocationMemento object that can be checked for in order to pretransition |
941 // to another type. | 944 // to another type. |
942 // On entry, receiver_reg should point to the array object. | 945 // On entry, receiver_reg should point to the array object. |
943 // scratch_reg gets clobbered. | 946 // scratch_reg gets clobbered. |
944 // If allocation info is present, conditional code is set to equal. | 947 // If allocation info is present, conditional code is set to equal. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1075 } \ | 1078 } \ |
1076 masm-> | 1079 masm-> |
1077 #else | 1080 #else |
1078 #define ACCESS_MASM(masm) masm-> | 1081 #define ACCESS_MASM(masm) masm-> |
1079 #endif | 1082 #endif |
1080 | 1083 |
1081 } // namespace internal | 1084 } // namespace internal |
1082 } // namespace v8 | 1085 } // namespace v8 |
1083 | 1086 |
1084 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1087 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |