OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |