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

Side by Side Diff: src/arm/code-stubs-arm.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 | « BUILD.gn ('k') | src/arm/debug-arm.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_ARM 7 #if V8_TARGET_ARCH_ARM
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 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 __ cmp(r0, Operand::Zero()); 1868 __ cmp(r0, Operand::Zero());
1869 __ LoadRoot(r0, Heap::kTrueValueRootIndex, eq); 1869 __ LoadRoot(r0, Heap::kTrueValueRootIndex, eq);
1870 __ LoadRoot(r0, Heap::kFalseValueRootIndex, ne); 1870 __ LoadRoot(r0, Heap::kFalseValueRootIndex, ne);
1871 __ Ret(HasArgsInRegisters() ? 0 : 2); 1871 __ Ret(HasArgsInRegisters() ? 0 : 2);
1872 } 1872 }
1873 } 1873 }
1874 1874
1875 1875
1876 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { 1876 void FunctionPrototypeStub::Generate(MacroAssembler* masm) {
1877 Label miss; 1877 Label miss;
1878 Register receiver = LoadIC::ReceiverRegister(); 1878 Register receiver = LoadConvention::ReceiverRegister();
1879 1879
1880 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r3, 1880 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r3,
1881 r4, &miss); 1881 r4, &miss);
1882 __ bind(&miss); 1882 __ bind(&miss);
1883 PropertyAccessCompiler::TailCallBuiltin( 1883 PropertyAccessCompiler::TailCallBuiltin(
1884 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); 1884 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC));
1885 } 1885 }
1886 1886
1887 1887
1888 Register InstanceofStub::left() { return r0; } 1888 Register InstanceofStub::left() { return r0; }
(...skipping 3207 matching lines...) Expand 10 before | Expand all | Expand 10 after
5096 MemOperand(fp, 6 * kPointerSize), 5096 MemOperand(fp, 6 * kPointerSize),
5097 NULL); 5097 NULL);
5098 } 5098 }
5099 5099
5100 5100
5101 #undef __ 5101 #undef __
5102 5102
5103 } } // namespace v8::internal 5103 } } // namespace v8::internal
5104 5104
5105 #endif // V8_TARGET_ARCH_ARM 5105 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/arm/debug-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698