| 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/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 4010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4021 } | 4021 } |
| 4022 __ Jump(t9); | 4022 __ Jump(t9); |
| 4023 } | 4023 } |
| 4024 | 4024 |
| 4025 | 4025 |
| 4026 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, | 4026 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |
| 4027 Register target) { | 4027 Register target) { |
| 4028 intptr_t loc = | 4028 intptr_t loc = |
| 4029 reinterpret_cast<intptr_t>(GetCode().location()); | 4029 reinterpret_cast<intptr_t>(GetCode().location()); |
| 4030 __ Move(t9, target); | 4030 __ Move(t9, target); |
| 4031 __ li(ra, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); | 4031 __ li(at, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); |
| 4032 __ Call(ra); | 4032 __ Call(at); |
| 4033 } | 4033 } |
| 4034 | 4034 |
| 4035 | 4035 |
| 4036 void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, | 4036 void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, |
| 4037 Label* miss, | 4037 Label* miss, |
| 4038 Label* done, | 4038 Label* done, |
| 4039 Register receiver, | 4039 Register receiver, |
| 4040 Register properties, | 4040 Register properties, |
| 4041 Handle<Name> name, | 4041 Handle<Name> name, |
| 4042 Register scratch0) { | 4042 Register scratch0) { |
| (...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5500 kStackUnwindSpace, kInvalidStackOffset, | 5500 kStackUnwindSpace, kInvalidStackOffset, |
| 5501 MemOperand(fp, 6 * kPointerSize), NULL); | 5501 MemOperand(fp, 6 * kPointerSize), NULL); |
| 5502 } | 5502 } |
| 5503 | 5503 |
| 5504 | 5504 |
| 5505 #undef __ | 5505 #undef __ |
| 5506 | 5506 |
| 5507 } } // namespace v8::internal | 5507 } } // namespace v8::internal |
| 5508 | 5508 |
| 5509 #endif // V8_TARGET_ARCH_MIPS | 5509 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |