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

Side by Side Diff: src/x64/code-stubs-x64.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/x64/builtins-x64.cc ('k') | src/x64/debug-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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_X64 7 #if V8_TARGET_ARCH_X64
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 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 768
769 __ bind(&done); 769 __ bind(&done);
770 __ IncrementCounter(counters->math_pow(), 1); 770 __ IncrementCounter(counters->math_pow(), 1);
771 __ ret(0); 771 __ ret(0);
772 } 772 }
773 } 773 }
774 774
775 775
776 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { 776 void FunctionPrototypeStub::Generate(MacroAssembler* masm) {
777 Label miss; 777 Label miss;
778 Register receiver = LoadIC::ReceiverRegister(); 778 Register receiver = LoadConvention::ReceiverRegister();
779 779
780 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r8, 780 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r8,
781 r9, &miss); 781 r9, &miss);
782 __ bind(&miss); 782 __ bind(&miss);
783 PropertyAccessCompiler::TailCallBuiltin( 783 PropertyAccessCompiler::TailCallBuiltin(
784 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); 784 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC));
785 } 785 }
786 786
787 787
788 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { 788 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) {
(...skipping 4187 matching lines...) Expand 10 before | Expand all | Expand 10 after
4976 return_value_operand, 4976 return_value_operand,
4977 NULL); 4977 NULL);
4978 } 4978 }
4979 4979
4980 4980
4981 #undef __ 4981 #undef __
4982 4982
4983 } } // namespace v8::internal 4983 } } // namespace v8::internal
4984 4984
4985 #endif // V8_TARGET_ARCH_X64 4985 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/debug-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698