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

Side by Side Diff: src/arm64/code-stubs-arm64.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/arm/lithium-codegen-arm.cc ('k') | src/arm64/debug-arm64.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_ARM64 7 #if V8_TARGET_ARCH_ARM64
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 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1708 __ SetStackPointer(csp); 1708 __ SetStackPointer(csp);
1709 __ PopCalleeSavedRegisters(); 1709 __ PopCalleeSavedRegisters();
1710 // After this point, we must not modify jssp because it is a callee-saved 1710 // After this point, we must not modify jssp because it is a callee-saved
1711 // register which we have just restored. 1711 // register which we have just restored.
1712 __ Ret(); 1712 __ Ret();
1713 } 1713 }
1714 1714
1715 1715
1716 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { 1716 void FunctionPrototypeStub::Generate(MacroAssembler* masm) {
1717 Label miss; 1717 Label miss;
1718 Register receiver = LoadIC::ReceiverRegister(); 1718 Register receiver = LoadConvention::ReceiverRegister();
1719 1719
1720 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, x10, 1720 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, x10,
1721 x11, &miss); 1721 x11, &miss);
1722 1722
1723 __ Bind(&miss); 1723 __ Bind(&miss);
1724 PropertyAccessCompiler::TailCallBuiltin( 1724 PropertyAccessCompiler::TailCallBuiltin(
1725 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); 1725 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC));
1726 } 1726 }
1727 1727
1728 1728
(...skipping 3694 matching lines...) Expand 10 before | Expand all | Expand 10 after
5423 MemOperand(fp, 6 * kPointerSize), 5423 MemOperand(fp, 6 * kPointerSize),
5424 NULL); 5424 NULL);
5425 } 5425 }
5426 5426
5427 5427
5428 #undef __ 5428 #undef __
5429 5429
5430 } } // namespace v8::internal 5430 } } // namespace v8::internal
5431 5431
5432 #endif // V8_TARGET_ARCH_ARM64 5432 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/debug-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698