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