OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_S390 | 5 #if V8_TARGET_ARCH_S390 |
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 MacroAssembler* masm = this->masm(); | 118 MacroAssembler* masm = this->masm(); |
119 __ Pop(slot, vector); | 119 __ Pop(slot, vector); |
120 } | 120 } |
121 | 121 |
122 void PropertyHandlerCompiler::DiscardVectorAndSlot() { | 122 void PropertyHandlerCompiler::DiscardVectorAndSlot() { |
123 MacroAssembler* masm = this->masm(); | 123 MacroAssembler* masm = this->masm(); |
124 // Remove vector and slot. | 124 // Remove vector and slot. |
125 __ la(sp, MemOperand(sp, 2 * kPointerSize)); | 125 __ la(sp, MemOperand(sp, 2 * kPointerSize)); |
126 } | 126 } |
127 | 127 |
128 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } | 128 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { |
| 129 // No-op. Return address is in lr register. |
| 130 } |
129 | 131 |
130 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } | 132 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { |
| 133 // No-op. Return address is in lr register. |
| 134 } |
131 | 135 |
132 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( | 136 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( |
133 MacroAssembler* masm, Label* miss_label, Register receiver, | 137 MacroAssembler* masm, Label* miss_label, Register receiver, |
134 Handle<Name> name, Register scratch0, Register scratch1) { | 138 Handle<Name> name, Register scratch0, Register scratch1) { |
135 DCHECK(name->IsUniqueName()); | 139 DCHECK(name->IsUniqueName()); |
136 DCHECK(!receiver.is(scratch0)); | 140 DCHECK(!receiver.is(scratch0)); |
137 Counters* counters = masm->isolate()->counters(); | 141 Counters* counters = masm->isolate()->counters(); |
138 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); | 142 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); |
139 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); | 143 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); |
140 | 144 |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 | 653 |
650 // Return the generated code. | 654 // Return the generated code. |
651 return GetCode(kind(), name); | 655 return GetCode(kind(), name); |
652 } | 656 } |
653 | 657 |
654 #undef __ | 658 #undef __ |
655 } // namespace internal | 659 } // namespace internal |
656 } // namespace v8 | 660 } // namespace v8 |
657 | 661 |
658 #endif // V8_TARGET_ARCH_ARM | 662 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |