| 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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 | 954 |
| 955 private: | 955 private: |
| 956 bool generating_stub_; | 956 bool generating_stub_; |
| 957 bool has_frame_; | 957 bool has_frame_; |
| 958 // This handle will be patched with the code object on installation. | 958 // This handle will be patched with the code object on installation. |
| 959 Handle<Object> code_object_; | 959 Handle<Object> code_object_; |
| 960 | 960 |
| 961 // Helper functions for generating invokes. | 961 // Helper functions for generating invokes. |
| 962 void InvokePrologue(const ParameterCount& expected, | 962 void InvokePrologue(const ParameterCount& expected, |
| 963 const ParameterCount& actual, | 963 const ParameterCount& actual, |
| 964 Handle<Code> code_constant, | |
| 965 const Operand& code_operand, | |
| 966 Label* done, | 964 Label* done, |
| 967 bool* definitely_mismatches, | 965 bool* definitely_mismatches, |
| 968 InvokeFlag flag, | 966 InvokeFlag flag, |
| 969 Label::Distance done_distance, | 967 Label::Distance done_distance, |
| 970 const CallWrapper& call_wrapper = NullCallWrapper()); | 968 const CallWrapper& call_wrapper = NullCallWrapper()); |
| 971 | 969 |
| 972 void EnterExitFramePrologue(); | 970 void EnterExitFramePrologue(); |
| 973 void EnterExitFrameEpilogue(int argc, bool save_doubles); | 971 void EnterExitFrameEpilogue(int argc, bool save_doubles); |
| 974 | 972 |
| 975 void LeaveExitFrameEpilogue(bool restore_context); | 973 void LeaveExitFrameEpilogue(bool restore_context); |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1088 masm-> | 1086 masm-> |
| 1089 #else | 1087 #else |
| 1090 #define ACCESS_MASM(masm) masm-> | 1088 #define ACCESS_MASM(masm) masm-> |
| 1091 #endif | 1089 #endif |
| 1092 | 1090 |
| 1093 | 1091 |
| 1094 } // namespace internal | 1092 } // namespace internal |
| 1095 } // namespace v8 | 1093 } // namespace v8 |
| 1096 | 1094 |
| 1097 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1095 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |