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 4033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4044 } | 4044 } |
4045 __ Jump(t9); | 4045 __ Jump(t9); |
4046 } | 4046 } |
4047 | 4047 |
4048 | 4048 |
4049 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, | 4049 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |
4050 Register target) { | 4050 Register target) { |
4051 intptr_t loc = | 4051 intptr_t loc = |
4052 reinterpret_cast<intptr_t>(GetCode().location()); | 4052 reinterpret_cast<intptr_t>(GetCode().location()); |
4053 __ Move(t9, target); | 4053 __ Move(t9, target); |
4054 __ li(ra, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); | 4054 __ li(at, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); |
4055 __ Call(ra); | 4055 __ Call(at); |
4056 } | 4056 } |
4057 | 4057 |
4058 | 4058 |
4059 void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, | 4059 void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, |
4060 Label* miss, | 4060 Label* miss, |
4061 Label* done, | 4061 Label* done, |
4062 Register receiver, | 4062 Register receiver, |
4063 Register properties, | 4063 Register properties, |
4064 Handle<Name> name, | 4064 Handle<Name> name, |
4065 Register scratch0) { | 4065 Register scratch0) { |
(...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5574 MemOperand(fp, 6 * kPointerSize), NULL); | 5574 MemOperand(fp, 6 * kPointerSize), NULL); |
5575 } | 5575 } |
5576 | 5576 |
5577 | 5577 |
5578 #undef __ | 5578 #undef __ |
5579 | 5579 |
5580 } // namespace internal | 5580 } // namespace internal |
5581 } // namespace v8 | 5581 } // namespace v8 |
5582 | 5582 |
5583 #endif // V8_TARGET_ARCH_MIPS | 5583 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |