| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #if V8_TARGET_ARCH_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
| 6 | 6 |
| 7 #include "src/ic/handler-compiler.h" | 7 #include "src/ic/handler-compiler.h" |
| 8 | 8 |
| 9 #include "src/api-arguments.h" | 9 #include "src/api-arguments.h" |
| 10 #include "src/field-type.h" | 10 #include "src/field-type.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 __ Pop(slot, vector); | 122 __ Pop(slot, vector); |
| 123 } | 123 } |
| 124 | 124 |
| 125 | 125 |
| 126 void PropertyHandlerCompiler::DiscardVectorAndSlot() { | 126 void PropertyHandlerCompiler::DiscardVectorAndSlot() { |
| 127 MacroAssembler* masm = this->masm(); | 127 MacroAssembler* masm = this->masm(); |
| 128 // Remove vector and slot. | 128 // Remove vector and slot. |
| 129 __ Daddu(sp, sp, Operand(2 * kPointerSize)); | 129 __ Daddu(sp, sp, Operand(2 * kPointerSize)); |
| 130 } | 130 } |
| 131 | 131 |
| 132 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } | 132 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { |
| 133 // No-op. Return address is in ra register. |
| 134 } |
| 133 | 135 |
| 134 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } | 136 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { |
| 137 // No-op. Return address is in ra register. |
| 138 } |
| 135 | 139 |
| 136 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( | 140 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( |
| 137 MacroAssembler* masm, Label* miss_label, Register receiver, | 141 MacroAssembler* masm, Label* miss_label, Register receiver, |
| 138 Handle<Name> name, Register scratch0, Register scratch1) { | 142 Handle<Name> name, Register scratch0, Register scratch1) { |
| 139 DCHECK(name->IsUniqueName()); | 143 DCHECK(name->IsUniqueName()); |
| 140 DCHECK(!receiver.is(scratch0)); | 144 DCHECK(!receiver.is(scratch0)); |
| 141 Counters* counters = masm->isolate()->counters(); | 145 Counters* counters = masm->isolate()->counters(); |
| 142 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); | 146 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); |
| 143 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); | 147 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); |
| 144 | 148 |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 // Return the generated code. | 674 // Return the generated code. |
| 671 return GetCode(kind(), name); | 675 return GetCode(kind(), name); |
| 672 } | 676 } |
| 673 | 677 |
| 674 | 678 |
| 675 #undef __ | 679 #undef __ |
| 676 } // namespace internal | 680 } // namespace internal |
| 677 } // namespace v8 | 681 } // namespace v8 |
| 678 | 682 |
| 679 #endif // V8_TARGET_ARCH_MIPS64 | 683 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |