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

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

Issue 1304633002: Correctify instanceof and make it optimizable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Add MIPS/MIPS64 ports. Created 5 years, 4 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/code-stubs-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/interface-descriptors.h" 5 #include "src/interface-descriptors.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 9
10 namespace { 10 namespace {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 148 }
149 149
150 150
151 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( 151 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific(
152 CallInterfaceDescriptorData* data) { 152 CallInterfaceDescriptorData* data) {
153 Register registers[] = {SlotRegister(), ValueRegister()}; 153 Register registers[] = {SlotRegister(), ValueRegister()};
154 data->InitializePlatformSpecific(arraysize(registers), registers); 154 data->InitializePlatformSpecific(arraysize(registers), registers);
155 } 155 }
156 156
157 157
158 void InstanceofDescriptor::InitializePlatformSpecific( 158 void InstanceOfDescriptor::InitializePlatformSpecific(
159 CallInterfaceDescriptorData* data) { 159 CallInterfaceDescriptorData* data) {
160 Register registers[] = {left(), right()}; 160 Register registers[] = {LeftRegister(), RightRegister()};
161 data->InitializePlatformSpecific(arraysize(registers), registers); 161 data->InitializePlatformSpecific(arraysize(registers), registers);
162 } 162 }
163 163
164 164
165 void ToObjectDescriptor::InitializePlatformSpecific( 165 void ToObjectDescriptor::InitializePlatformSpecific(
166 CallInterfaceDescriptorData* data) { 166 CallInterfaceDescriptorData* data) {
167 Register registers[] = {ReceiverRegister()}; 167 Register registers[] = {ReceiverRegister()};
168 data->InitializePlatformSpecific(arraysize(registers), registers); 168 data->InitializePlatformSpecific(arraysize(registers), registers);
169 } 169 }
170 170
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); 440 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone());
441 function->InitParameter(0, Type::Receiver()); 441 function->InitParameter(0, Type::Receiver());
442 function->InitParameter(1, SmiType()); 442 function->InitParameter(1, SmiType());
443 function->InitParameter(2, AnyTagged()); 443 function->InitParameter(2, AnyTagged());
444 function->InitParameter(3, AnyTagged()); 444 function->InitParameter(3, AnyTagged());
445 function->InitParameter(4, AnyTagged()); 445 function->InitParameter(4, AnyTagged());
446 return function; 446 return function;
447 } 447 }
448 } // namespace internal 448 } // namespace internal
449 } // namespace v8 449 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698