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

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

Issue 9178017: Allow call-known-global to be used for call-sites with mismatched number of arguments. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Relax call-constant-function restrictions as well Created 8 years, 11 months 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 bool has_frame_; 820 bool has_frame_;
821 // This handle will be patched with the code object on installation. 821 // This handle will be patched with the code object on installation.
822 Handle<Object> code_object_; 822 Handle<Object> code_object_;
823 823
824 // Helper functions for generating invokes. 824 // Helper functions for generating invokes.
825 void InvokePrologue(const ParameterCount& expected, 825 void InvokePrologue(const ParameterCount& expected,
826 const ParameterCount& actual, 826 const ParameterCount& actual,
827 Handle<Code> code_constant, 827 Handle<Code> code_constant,
828 const Operand& code_operand, 828 const Operand& code_operand,
829 Label* done, 829 Label* done,
830 bool* definitely_mismatches,
830 InvokeFlag flag, 831 InvokeFlag flag,
831 Label::Distance done_distance, 832 Label::Distance done_distance,
832 const CallWrapper& call_wrapper = NullCallWrapper(), 833 const CallWrapper& call_wrapper = NullCallWrapper(),
833 CallKind call_kind = CALL_AS_METHOD); 834 CallKind call_kind = CALL_AS_METHOD);
834 835
835 void EnterExitFramePrologue(); 836 void EnterExitFramePrologue();
836 void EnterExitFrameEpilogue(int argc, bool save_doubles); 837 void EnterExitFrameEpilogue(int argc, bool save_doubles);
837 838
838 void LeaveExitFrameEpilogue(); 839 void LeaveExitFrameEpilogue();
839 840
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 } \ 950 } \
950 masm-> 951 masm->
951 #else 952 #else
952 #define ACCESS_MASM(masm) masm-> 953 #define ACCESS_MASM(masm) masm->
953 #endif 954 #endif
954 955
955 956
956 } } // namespace v8::internal 957 } } // namespace v8::internal
957 958
958 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 959 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698