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

Side by Side Diff: src/ic/ppc/handler-compiler-ppc.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/ic/mips64/handler-compiler-mips64.cc ('k') | src/ic/s390/handler-compiler-s390.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_PPC 5 #if V8_TARGET_ARCH_PPC
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 __ Pop(slot, vector); 123 __ Pop(slot, vector);
124 } 124 }
125 125
126 126
127 void PropertyHandlerCompiler::DiscardVectorAndSlot() { 127 void PropertyHandlerCompiler::DiscardVectorAndSlot() {
128 MacroAssembler* masm = this->masm(); 128 MacroAssembler* masm = this->masm();
129 // Remove vector and slot. 129 // Remove vector and slot.
130 __ addi(sp, sp, Operand(2 * kPointerSize)); 130 __ addi(sp, sp, Operand(2 * kPointerSize));
131 } 131 }
132 132
133 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } 133 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) {
134 // No-op. Return address is in lr register.
135 }
134 136
135 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } 137 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) {
138 // No-op. Return address is in lr register.
139 }
136 140
137 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( 141 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup(
138 MacroAssembler* masm, Label* miss_label, Register receiver, 142 MacroAssembler* masm, Label* miss_label, Register receiver,
139 Handle<Name> name, Register scratch0, Register scratch1) { 143 Handle<Name> name, Register scratch0, Register scratch1) {
140 DCHECK(name->IsUniqueName()); 144 DCHECK(name->IsUniqueName());
141 DCHECK(!receiver.is(scratch0)); 145 DCHECK(!receiver.is(scratch0));
142 Counters* counters = masm->isolate()->counters(); 146 Counters* counters = masm->isolate()->counters();
143 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 147 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1);
144 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 148 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1);
145 149
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 // Return the generated code. 683 // Return the generated code.
680 return GetCode(kind(), name); 684 return GetCode(kind(), name);
681 } 685 }
682 686
683 687
684 #undef __ 688 #undef __
685 } // namespace internal 689 } // namespace internal
686 } // namespace v8 690 } // namespace v8
687 691
688 #endif // V8_TARGET_ARCH_ARM 692 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/ic/mips64/handler-compiler-mips64.cc ('k') | src/ic/s390/handler-compiler-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698