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

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: Add arm64 port. 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
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 139 }
140 140
141 141
142 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( 142 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific(
143 CallInterfaceDescriptorData* data) { 143 CallInterfaceDescriptorData* data) {
144 Register registers[] = {SlotRegister(), ValueRegister()}; 144 Register registers[] = {SlotRegister(), ValueRegister()};
145 data->InitializePlatformSpecific(arraysize(registers), registers); 145 data->InitializePlatformSpecific(arraysize(registers), registers);
146 } 146 }
147 147
148 148
149 void InstanceofDescriptor::InitializePlatformSpecific( 149 void InstanceOfDescriptor::InitializePlatformSpecific(
150 CallInterfaceDescriptorData* data) { 150 CallInterfaceDescriptorData* data) {
151 Register registers[] = {left(), right()}; 151 Register registers[] = {LeftRegister(), RightRegister()};
152 data->InitializePlatformSpecific(arraysize(registers), registers); 152 data->InitializePlatformSpecific(arraysize(registers), registers);
153 } 153 }
154 154
155 155
156 void ToObjectDescriptor::InitializePlatformSpecific( 156 void ToObjectDescriptor::InitializePlatformSpecific(
157 CallInterfaceDescriptorData* data) { 157 CallInterfaceDescriptorData* data) {
158 Register registers[] = {ReceiverRegister()}; 158 Register registers[] = {ReceiverRegister()};
159 data->InitializePlatformSpecific(arraysize(registers), registers); 159 data->InitializePlatformSpecific(arraysize(registers), registers);
160 } 160 }
161 161
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); 416 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone());
417 function->InitParameter(0, Type::Receiver()); 417 function->InitParameter(0, Type::Receiver());
418 function->InitParameter(1, SmiType()); 418 function->InitParameter(1, SmiType());
419 function->InitParameter(2, AnyTagged()); 419 function->InitParameter(2, AnyTagged());
420 function->InitParameter(3, AnyTagged()); 420 function->InitParameter(3, AnyTagged());
421 function->InitParameter(4, AnyTagged()); 421 function->InitParameter(4, AnyTagged());
422 return function; 422 return function;
423 } 423 }
424 } // namespace internal 424 } // namespace internal
425 } // namespace v8 425 } // namespace v8
OLDNEW
« src/arm/code-stubs-arm.cc ('K') | « src/interface-descriptors.h ('k') | src/runtime.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698