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

Side by Side Diff: src/arm/stub-cache-arm.cc

Issue 1094014: Merge the partial_snapshots branch back into bleeding_edge. For... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 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
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 Object* CallStubCompiler::CompileCallConstant(Object* object, 916 Object* CallStubCompiler::CompileCallConstant(Object* object,
917 JSObject* holder, 917 JSObject* holder,
918 JSFunction* function, 918 JSFunction* function,
919 String* name, 919 String* name,
920 CheckType check) { 920 CheckType check) {
921 // ----------- S t a t e ------------- 921 // ----------- S t a t e -------------
922 // -- r2 : name 922 // -- r2 : name
923 // -- lr : return address 923 // -- lr : return address
924 // ----------------------------------- 924 // -----------------------------------
925 SharedFunctionInfo* function_info = function->shared(); 925 SharedFunctionInfo* function_info = function->shared();
926 if (function_info->HasCustomCallGenerator()) { 926 if (false && function_info->HasCustomCallGenerator()) {
Erik Corry 2010/03/23 12:01:50 I will fix this ASAP.
927 CustomCallGenerator generator = 927 CustomCallGenerator generator =
928 ToCData<CustomCallGenerator>(function_info->function_data()); 928 ToCData<CustomCallGenerator>(function_info->function_data());
929 return generator(this, object, holder, function, name, check); 929 return generator(this, object, holder, function, name, check);
930 } 930 }
931 931
932 Label miss; 932 Label miss;
933 933
934 // Get the receiver from the stack 934 // Get the receiver from the stack
935 const int argc = arguments().immediate(); 935 const int argc = arguments().immediate();
936 __ ldr(r1, MemOperand(sp, argc * kPointerSize)); 936 __ ldr(r1, MemOperand(sp, argc * kPointerSize));
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
1894 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET); 1894 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET);
1895 1895
1896 // Return the generated code. 1896 // Return the generated code.
1897 return GetCode(); 1897 return GetCode();
1898 } 1898 }
1899 1899
1900 1900
1901 #undef __ 1901 #undef __
1902 1902
1903 } } // namespace v8::internal 1903 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698