Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Side by Side Diff: src/ic/arm/handler-compiler-arm.cc

Issue 2397573004: [stubs] Reduce number of StoreTransitionStub instances. (Closed)
Patch Set: Cleanup Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/code-stubs.cc ('k') | src/ic/arm64/handler-compiler-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ARM 5 #if V8_TARGET_ARCH_ARM
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 __ pop(slot); 128 __ pop(slot);
129 } 129 }
130 130
131 131
132 void PropertyHandlerCompiler::DiscardVectorAndSlot() { 132 void PropertyHandlerCompiler::DiscardVectorAndSlot() {
133 MacroAssembler* masm = this->masm(); 133 MacroAssembler* masm = this->masm();
134 // Remove vector and slot. 134 // Remove vector and slot.
135 __ add(sp, sp, Operand(2 * kPointerSize)); 135 __ add(sp, sp, Operand(2 * kPointerSize));
136 } 136 }
137 137
138 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } 138 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) {
139 // No-op. Return address is in lr register.
140 }
139 141
140 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } 142 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) {
143 // No-op. Return address is in lr register.
144 }
141 145
142 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( 146 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup(
143 MacroAssembler* masm, Label* miss_label, Register receiver, 147 MacroAssembler* masm, Label* miss_label, Register receiver,
144 Handle<Name> name, Register scratch0, Register scratch1) { 148 Handle<Name> name, Register scratch0, Register scratch1) {
145 DCHECK(name->IsUniqueName()); 149 DCHECK(name->IsUniqueName());
146 DCHECK(!receiver.is(scratch0)); 150 DCHECK(!receiver.is(scratch0));
147 Counters* counters = masm->isolate()->counters(); 151 Counters* counters = masm->isolate()->counters();
148 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 152 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1);
149 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 153 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1);
150 154
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 // Return the generated code. 689 // Return the generated code.
686 return GetCode(kind(), name); 690 return GetCode(kind(), name);
687 } 691 }
688 692
689 693
690 #undef __ 694 #undef __
691 } // namespace internal 695 } // namespace internal
692 } // namespace v8 696 } // namespace v8
693 697
694 #endif // V8_TARGET_ARCH_ARM 698 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/ic/arm64/handler-compiler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698