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

Side by Side Diff: src/mips/code-stubs-mips.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/ic/mips64/ic-mips64.cc ('k') | src/mips/debug-mips.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_MIPS 7 #if V8_TARGET_ARCH_MIPS
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 1936 matching lines...) Expand 10 before | Expand all | Expand 10 after
1947 __ LoadRoot(v0, Heap::kTrueValueRootIndex); 1947 __ LoadRoot(v0, Heap::kTrueValueRootIndex);
1948 __ DropAndRet(HasArgsInRegisters() ? 0 : 2, eq, a0, Operand(zero_reg)); 1948 __ DropAndRet(HasArgsInRegisters() ? 0 : 2, eq, a0, Operand(zero_reg));
1949 __ LoadRoot(v0, Heap::kFalseValueRootIndex); 1949 __ LoadRoot(v0, Heap::kFalseValueRootIndex);
1950 __ DropAndRet(HasArgsInRegisters() ? 0 : 2); 1950 __ DropAndRet(HasArgsInRegisters() ? 0 : 2);
1951 } 1951 }
1952 } 1952 }
1953 1953
1954 1954
1955 void FunctionPrototypeStub::Generate(MacroAssembler* masm) { 1955 void FunctionPrototypeStub::Generate(MacroAssembler* masm) {
1956 Label miss; 1956 Label miss;
1957 Register receiver = LoadIC::ReceiverRegister(); 1957 Register receiver = LoadConvention::ReceiverRegister();
1958 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, a3, 1958 NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, a3,
1959 t0, &miss); 1959 t0, &miss);
1960 __ bind(&miss); 1960 __ bind(&miss);
1961 PropertyAccessCompiler::TailCallBuiltin( 1961 PropertyAccessCompiler::TailCallBuiltin(
1962 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); 1962 masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC));
1963 } 1963 }
1964 1964
1965 1965
1966 Register InstanceofStub::left() { return a0; } 1966 Register InstanceofStub::left() { return a0; }
1967 1967
(...skipping 3318 matching lines...) Expand 10 before | Expand all | Expand 10 after
5286 MemOperand(fp, 6 * kPointerSize), 5286 MemOperand(fp, 6 * kPointerSize),
5287 NULL); 5287 NULL);
5288 } 5288 }
5289 5289
5290 5290
5291 #undef __ 5291 #undef __
5292 5292
5293 } } // namespace v8::internal 5293 } } // namespace v8::internal
5294 5294
5295 #endif // V8_TARGET_ARCH_MIPS 5295 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ic/mips64/ic-mips64.cc ('k') | src/mips/debug-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698