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 3994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4005 } | 4005 } |
4006 __ Jump(t9); | 4006 __ Jump(t9); |
4007 } | 4007 } |
4008 | 4008 |
4009 | 4009 |
4010 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, | 4010 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |
4011 Register target) { | 4011 Register target) { |
4012 intptr_t loc = | 4012 intptr_t loc = |
4013 reinterpret_cast<intptr_t>(GetCode().location()); | 4013 reinterpret_cast<intptr_t>(GetCode().location()); |
4014 __ Move(t9, target); | 4014 __ Move(t9, target); |
4015 __ li(ra, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); | 4015 __ li(at, Operand(loc, RelocInfo::CODE_TARGET), CONSTANT_SIZE); |
4016 __ Call(ra); | 4016 __ Call(at); |
4017 } | 4017 } |
4018 | 4018 |
4019 | 4019 |
4020 void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, | 4020 void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, |
4021 Label* miss, | 4021 Label* miss, |
4022 Label* done, | 4022 Label* done, |
4023 Register receiver, | 4023 Register receiver, |
4024 Register properties, | 4024 Register properties, |
4025 Handle<Name> name, | 4025 Handle<Name> name, |
4026 Register scratch0) { | 4026 Register scratch0) { |
(...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5501 kStackUnwindSpace, kInvalidStackOffset, | 5501 kStackUnwindSpace, kInvalidStackOffset, |
5502 MemOperand(fp, 6 * kPointerSize), NULL); | 5502 MemOperand(fp, 6 * kPointerSize), NULL); |
5503 } | 5503 } |
5504 | 5504 |
5505 | 5505 |
5506 #undef __ | 5506 #undef __ |
5507 | 5507 |
5508 } } // namespace v8::internal | 5508 } } // namespace v8::internal |
5509 | 5509 |
5510 #endif // V8_TARGET_ARCH_MIPS | 5510 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |