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_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
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 26 matching lines...) Expand all Loading... |
37 __ Pop(slot); | 37 __ Pop(slot); |
38 } | 38 } |
39 | 39 |
40 | 40 |
41 void PropertyHandlerCompiler::DiscardVectorAndSlot() { | 41 void PropertyHandlerCompiler::DiscardVectorAndSlot() { |
42 MacroAssembler* masm = this->masm(); | 42 MacroAssembler* masm = this->masm(); |
43 // Remove vector and slot. | 43 // Remove vector and slot. |
44 __ Drop(2); | 44 __ Drop(2); |
45 } | 45 } |
46 | 46 |
47 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } | 47 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { |
| 48 // No-op. Return address is in lr register. |
| 49 } |
48 | 50 |
49 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } | 51 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { |
| 52 // No-op. Return address is in lr register. |
| 53 } |
50 | 54 |
51 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( | 55 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( |
52 MacroAssembler* masm, Label* miss_label, Register receiver, | 56 MacroAssembler* masm, Label* miss_label, Register receiver, |
53 Handle<Name> name, Register scratch0, Register scratch1) { | 57 Handle<Name> name, Register scratch0, Register scratch1) { |
54 DCHECK(!AreAliased(receiver, scratch0, scratch1)); | 58 DCHECK(!AreAliased(receiver, scratch0, scratch1)); |
55 DCHECK(name->IsUniqueName()); | 59 DCHECK(name->IsUniqueName()); |
56 Counters* counters = masm->isolate()->counters(); | 60 Counters* counters = masm->isolate()->counters(); |
57 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); | 61 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); |
58 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); | 62 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); |
59 | 63 |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 // Return the generated code. | 686 // Return the generated code. |
683 return GetCode(kind(), name); | 687 return GetCode(kind(), name); |
684 } | 688 } |
685 | 689 |
686 | 690 |
687 #undef __ | 691 #undef __ |
688 } // namespace internal | 692 } // namespace internal |
689 } // namespace v8 | 693 } // namespace v8 |
690 | 694 |
691 #endif // V8_TARGET_ARCH_IA32 | 695 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |