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

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

Issue 6447007: Fix a bug that occurs when functions are defined with more than 16,382 parame... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 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/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 913
914 // Calculate the number of stack slots to reserve for arguments when calling a 914 // Calculate the number of stack slots to reserve for arguments when calling a
915 // C function. 915 // C function.
916 int ArgumentStackSlotsForCFunctionCall(int num_arguments); 916 int ArgumentStackSlotsForCFunctionCall(int num_arguments);
917 917
918 // --------------------------------------------------------------------------- 918 // ---------------------------------------------------------------------------
919 // Utilities 919 // Utilities
920 920
921 void Ret(); 921 void Ret();
922 922
923 // Return and drop arguments from stack, where the number of arguments
924 // may be bigger than 2^16 - 1. Requires a scratch register.
925 void Ret(int bytes_dropped, Register scratch);
926
923 Handle<Object> CodeObject() { return code_object_; } 927 Handle<Object> CodeObject() { return code_object_; }
924 928
925 929
926 // --------------------------------------------------------------------------- 930 // ---------------------------------------------------------------------------
927 // StatsCounter support 931 // StatsCounter support
928 932
929 void SetCounter(StatsCounter* counter, int value); 933 void SetCounter(StatsCounter* counter, int value);
930 void IncrementCounter(StatsCounter* counter, int value); 934 void IncrementCounter(StatsCounter* counter, int value);
931 void DecrementCounter(StatsCounter* counter, int value); 935 void DecrementCounter(StatsCounter* counter, int value);
932 936
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
1795 Jump(adaptor, RelocInfo::CODE_TARGET); 1799 Jump(adaptor, RelocInfo::CODE_TARGET);
1796 } 1800 }
1797 bind(&invoke); 1801 bind(&invoke);
1798 } 1802 }
1799 } 1803 }
1800 1804
1801 1805
1802 } } // namespace v8::internal 1806 } } // namespace v8::internal
1803 1807
1804 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1808 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698