Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Side by Side Diff: src/x87/macro-assembler-x87.h

Issue 1455293004: Simplify MacroAssembler::InvokePrologue a bit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix MIPS64 compilation. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698