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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 } | 904 } |
905 | 905 |
906 // Load the type feedback vector from a JavaScript frame. | 906 // Load the type feedback vector from a JavaScript frame. |
907 void EmitLoadTypeFeedbackVector(Register vector); | 907 void EmitLoadTypeFeedbackVector(Register vector); |
908 | 908 |
909 // Activation support. | 909 // Activation support. |
910 void EnterFrame(StackFrame::Type type); | 910 void EnterFrame(StackFrame::Type type); |
911 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 911 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
912 void LeaveFrame(StackFrame::Type type); | 912 void LeaveFrame(StackFrame::Type type); |
913 | 913 |
| 914 void EnterBuiltinFrame(Register context, Register target, Register argc); |
| 915 void LeaveBuiltinFrame(Register context, Register target, Register argc); |
| 916 |
914 // Expects object in eax and returns map with validated enum cache | 917 // Expects object in eax and returns map with validated enum cache |
915 // in eax. Assumes that any other register can be used as a scratch. | 918 // in eax. Assumes that any other register can be used as a scratch. |
916 void CheckEnumCache(Label* call_runtime); | 919 void CheckEnumCache(Label* call_runtime); |
917 | 920 |
918 // AllocationMemento support. Arrays may have an associated | 921 // AllocationMemento support. Arrays may have an associated |
919 // AllocationMemento object that can be checked for in order to pretransition | 922 // AllocationMemento object that can be checked for in order to pretransition |
920 // to another type. | 923 // to another type. |
921 // On entry, receiver_reg should point to the array object. | 924 // On entry, receiver_reg should point to the array object. |
922 // scratch_reg gets clobbered. | 925 // scratch_reg gets clobbered. |
923 // If allocation info is present, conditional code is set to equal. | 926 // If allocation info is present, conditional code is set to equal. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 } \ | 1057 } \ |
1055 masm-> | 1058 masm-> |
1056 #else | 1059 #else |
1057 #define ACCESS_MASM(masm) masm-> | 1060 #define ACCESS_MASM(masm) masm-> |
1058 #endif | 1061 #endif |
1059 | 1062 |
1060 } // namespace internal | 1063 } // namespace internal |
1061 } // namespace v8 | 1064 } // namespace v8 |
1062 | 1065 |
1063 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1066 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |