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

Side by Side Diff: src/ia32/code-stubs-ia32.cc

Issue 486213003: Move register conventions out of the IC classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 years, 3 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/builtins-ia32.cc ('k') | src/ia32/debug-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 // 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 888
889 __ bind(&done); 889 __ bind(&done);
890 __ IncrementCounter(counters->math_pow(), 1); 890 __ IncrementCounter(counters->math_pow(), 1);
891 __ ret(0); 891 __ ret(0);
892 } 892 }
893 } 893 }
894 894
895 895
896 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { 896 void FunctionPrototypeStub::Generate(MacroAssembler* masm) {
897 Label miss; 897 Label miss;
898 Register receiver = LoadIC::ReceiverRegister(); 898 Register receiver = LoadConvention::ReceiverRegister();
899 899
900 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, eax, 900 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, eax,
901 ebx, &miss); 901 ebx, &miss);
902 __ bind(&miss); 902 __ bind(&miss);
903 PropertyAccessCompiler::TailCallBuiltin( 903 PropertyAccessCompiler::TailCallBuiltin(
904 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); 904 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC));
905 } 905 }
906 906
907 907
908 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { 908 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) {
(...skipping 4096 matching lines...) Expand 10 before | Expand all | Expand 10 after
5005 Operand(ebp, 7 * kPointerSize), 5005 Operand(ebp, 7 * kPointerSize),
5006 NULL); 5006 NULL);
5007 } 5007 }
5008 5008
5009 5009
5010 #undef __ 5010 #undef __
5011 5011
5012 } } // namespace v8::internal 5012 } } // namespace v8::internal
5013 5013
5014 #endif // V8_TARGET_ARCH_IA32 5014 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/ia32/debug-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698