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

Side by Side Diff: src/ic/mips/handler-compiler-mips.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/handler-compiler.cc ('k') | src/ic/mips64/handler-compiler-mips64.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_MIPS 5 #if V8_TARGET_ARCH_MIPS
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 __ Pop(slot, vector); 122 __ Pop(slot, vector);
123 } 123 }
124 124
125 125
126 void PropertyHandlerCompiler::DiscardVectorAndSlot() { 126 void PropertyHandlerCompiler::DiscardVectorAndSlot() {
127 MacroAssembler* masm = this->masm(); 127 MacroAssembler* masm = this->masm();
128 // Remove vector and slot. 128 // Remove vector and slot.
129 __ Addu(sp, sp, Operand(2 * kPointerSize)); 129 __ Addu(sp, sp, Operand(2 * kPointerSize));
130 } 130 }
131 131
132 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } 132 void PropertyHandlerCompiler::PushReturnAddress(Register tmp) {
133 // No-op. Return address is in ra register.
134 }
133 135
134 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } 136 void PropertyHandlerCompiler::PopReturnAddress(Register tmp) {
137 // No-op. Return address is in ra register.
138 }
135 139
136 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( 140 void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup(
137 MacroAssembler* masm, Label* miss_label, Register receiver, 141 MacroAssembler* masm, Label* miss_label, Register receiver,
138 Handle<Name> name, Register scratch0, Register scratch1) { 142 Handle<Name> name, Register scratch0, Register scratch1) {
139 DCHECK(name->IsUniqueName()); 143 DCHECK(name->IsUniqueName());
140 DCHECK(!receiver.is(scratch0)); 144 DCHECK(!receiver.is(scratch0));
141 Counters* counters = masm->isolate()->counters(); 145 Counters* counters = masm->isolate()->counters();
142 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1); 146 __ IncrementCounter(counters->negative_lookups(), 1, scratch0, scratch1);
143 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1); 147 __ IncrementCounter(counters->negative_lookups_miss(), 1, scratch0, scratch1);
144 148
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 // Return the generated code. 674 // Return the generated code.
671 return GetCode(kind(), name); 675 return GetCode(kind(), name);
672 } 676 }
673 677
674 678
675 #undef __ 679 #undef __
676 } // namespace internal 680 } // namespace internal
677 } // namespace v8 681 } // namespace v8
678 682
679 #endif // V8_TARGET_ARCH_MIPS 683 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ic/handler-compiler.cc ('k') | src/ic/mips64/handler-compiler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698