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

Side by Side Diff: src/ic/s390/handler-compiler-s390.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/ppc/handler-compiler-ppc.cc ('k') | src/ic/x64/handler-compiler-x64.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 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
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
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
OLDNEW
« no previous file with comments | « src/ic/ppc/handler-compiler-ppc.cc ('k') | src/ic/x64/handler-compiler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698