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 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 | 1000 |
1001 private: | 1001 private: |
1002 bool generating_stub_; | 1002 bool generating_stub_; |
1003 bool has_frame_; | 1003 bool has_frame_; |
1004 // This handle will be patched with the code object on installation. | 1004 // This handle will be patched with the code object on installation. |
1005 Handle<Object> code_object_; | 1005 Handle<Object> code_object_; |
1006 | 1006 |
1007 // Helper functions for generating invokes. | 1007 // Helper functions for generating invokes. |
1008 void InvokePrologue(const ParameterCount& expected, | 1008 void InvokePrologue(const ParameterCount& expected, |
1009 const ParameterCount& actual, | 1009 const ParameterCount& actual, |
1010 Handle<Code> code_constant, | |
1011 const Operand& code_operand, | |
1012 Label* done, | 1010 Label* done, |
1013 bool* definitely_mismatches, | 1011 bool* definitely_mismatches, |
1014 InvokeFlag flag, | 1012 InvokeFlag flag, |
1015 Label::Distance done_distance, | 1013 Label::Distance done_distance, |
1016 const CallWrapper& call_wrapper = NullCallWrapper()); | 1014 const CallWrapper& call_wrapper = NullCallWrapper()); |
1017 | 1015 |
1018 void EnterExitFramePrologue(); | 1016 void EnterExitFramePrologue(); |
1019 void EnterExitFrameEpilogue(int argc, bool save_doubles); | 1017 void EnterExitFrameEpilogue(int argc, bool save_doubles); |
1020 | 1018 |
1021 void LeaveExitFrameEpilogue(bool restore_context); | 1019 void LeaveExitFrameEpilogue(bool restore_context); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 masm-> | 1132 masm-> |
1135 #else | 1133 #else |
1136 #define ACCESS_MASM(masm) masm-> | 1134 #define ACCESS_MASM(masm) masm-> |
1137 #endif | 1135 #endif |
1138 | 1136 |
1139 | 1137 |
1140 } // namespace internal | 1138 } // namespace internal |
1141 } // namespace v8 | 1139 } // namespace v8 |
1142 | 1140 |
1143 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1141 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |