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

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

Issue 508673002: MIPS: Move register conventions out of the IC classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix nits. 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/mips/lithium-mips.cc ('k') | src/mips64/debug-mips64.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_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
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 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 __ LoadRoot(v0, Heap::kTrueValueRootIndex); 1945 __ LoadRoot(v0, Heap::kTrueValueRootIndex);
1946 __ DropAndRet(HasArgsInRegisters() ? 0 : 2, eq, a0, Operand(zero_reg)); 1946 __ DropAndRet(HasArgsInRegisters() ? 0 : 2, eq, a0, Operand(zero_reg));
1947 __ LoadRoot(v0, Heap::kFalseValueRootIndex); 1947 __ LoadRoot(v0, Heap::kFalseValueRootIndex);
1948 __ DropAndRet(HasArgsInRegisters() ? 0 : 2); 1948 __ DropAndRet(HasArgsInRegisters() ? 0 : 2);
1949 } 1949 }
1950 } 1950 }
1951 1951
1952 1952
1953 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { 1953 void FunctionPrototypeStub::Generate(MacroAssembler* masm) {
1954 Label miss; 1954 Label miss;
1955 Register receiver = LoadIC::ReceiverRegister(); 1955 Register receiver = LoadConvention::ReceiverRegister();
1956 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, a3, 1956 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, a3,
1957 a4, &miss); 1957 a4, &miss);
1958 __ bind(&miss); 1958 __ bind(&miss);
1959 PropertyAccessCompiler::TailCallBuiltin( 1959 PropertyAccessCompiler::TailCallBuiltin(
1960 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); 1960 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC));
1961 } 1961 }
1962 1962
1963 1963
1964 Register InstanceofStub::left() { return a0; } 1964 Register InstanceofStub::left() { return a0; }
1965 1965
(...skipping 3357 matching lines...) Expand 10 before | Expand all | Expand 10 after
5323 MemOperand(fp, 6 * kPointerSize), 5323 MemOperand(fp, 6 * kPointerSize),
5324 NULL); 5324 NULL);
5325 } 5325 }
5326 5326
5327 5327
5328 #undef __ 5328 #undef __
5329 5329
5330 } } // namespace v8::internal 5330 } } // namespace v8::internal
5331 5331
5332 #endif // V8_TARGET_ARCH_MIPS64 5332 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/mips64/debug-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698