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

Side by Side Diff: src/interface-descriptors.cc

Issue 1248973002: Eliminate redundant descriptor ElementTransitionAndStoreDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 5 years, 5 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/interface-descriptors.h ('k') | src/mips/interface-descriptors-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 142
143 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( 143 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific(
144 CallInterfaceDescriptorData* data) { 144 CallInterfaceDescriptorData* data) {
145 Register registers[] = {DepthRegister(), SlotRegister(), NameRegister(), 145 Register registers[] = {DepthRegister(), SlotRegister(), NameRegister(),
146 ValueRegister()}; 146 ValueRegister()};
147 data->InitializePlatformSpecific(arraysize(registers), registers); 147 data->InitializePlatformSpecific(arraysize(registers), registers);
148 } 148 }
149 149
150 150
151 void ElementTransitionAndStoreDescriptor::InitializePlatformSpecific(
152 CallInterfaceDescriptorData* data) {
153 Register registers[] = {ValueRegister(), MapRegister(), NameRegister(),
154 ReceiverRegister()};
155 data->InitializePlatformSpecific(arraysize(registers), registers);
156 }
157
158
159 void InstanceofDescriptor::InitializePlatformSpecific( 151 void InstanceofDescriptor::InitializePlatformSpecific(
160 CallInterfaceDescriptorData* data) { 152 CallInterfaceDescriptorData* data) {
161 Register registers[] = {left(), right()}; 153 Register registers[] = {left(), right()};
162 data->InitializePlatformSpecific(arraysize(registers), registers); 154 data->InitializePlatformSpecific(arraysize(registers), registers);
163 } 155 }
164 156
165 157
166 void MathPowTaggedDescriptor::InitializePlatformSpecific( 158 void MathPowTaggedDescriptor::InitializePlatformSpecific(
167 CallInterfaceDescriptorData* data) { 159 CallInterfaceDescriptorData* data) {
168 Register registers[] = {exponent()}; 160 Register registers[] = {exponent()};
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); 411 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone());
420 function->InitParameter(0, Type::Receiver()); 412 function->InitParameter(0, Type::Receiver());
421 function->InitParameter(1, SmiType()); 413 function->InitParameter(1, SmiType());
422 function->InitParameter(2, AnyTagged()); 414 function->InitParameter(2, AnyTagged());
423 function->InitParameter(3, AnyTagged()); 415 function->InitParameter(3, AnyTagged());
424 function->InitParameter(4, AnyTagged()); 416 function->InitParameter(4, AnyTagged());
425 return function; 417 return function;
426 } 418 }
427 } // namespace internal 419 } // namespace internal
428 } // namespace v8 420 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/interface-descriptors-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698