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

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

Issue 1980483003: [es6] Reintroduce the instanceof operator in the backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Igors comments. Created 4 years, 7 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/interpreter/interpreter.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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } 171 }
172 172
173 173
174 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific( 174 void StoreGlobalViaContextDescriptor::InitializePlatformSpecific(
175 CallInterfaceDescriptorData* data) { 175 CallInterfaceDescriptorData* data) {
176 Register registers[] = {SlotRegister(), ValueRegister()}; 176 Register registers[] = {SlotRegister(), ValueRegister()};
177 data->InitializePlatformSpecific(arraysize(registers), registers); 177 data->InitializePlatformSpecific(arraysize(registers), registers);
178 } 178 }
179 179
180 180
181 void InstanceOfDescriptor::InitializePlatformSpecific(
182 CallInterfaceDescriptorData* data) {
183 Register registers[] = {LeftRegister(), RightRegister()};
184 data->InitializePlatformSpecific(arraysize(registers), registers);
185 }
186
187
188 void StringCompareDescriptor::InitializePlatformSpecific( 181 void StringCompareDescriptor::InitializePlatformSpecific(
189 CallInterfaceDescriptorData* data) { 182 CallInterfaceDescriptorData* data) {
190 Register registers[] = {LeftRegister(), RightRegister()}; 183 Register registers[] = {LeftRegister(), RightRegister()};
191 data->InitializePlatformSpecific(arraysize(registers), registers); 184 data->InitializePlatformSpecific(arraysize(registers), registers);
192 } 185 }
193 186
194 void TypeConversionDescriptor::InitializePlatformSpecific( 187 void TypeConversionDescriptor::InitializePlatformSpecific(
195 CallInterfaceDescriptorData* data) { 188 CallInterfaceDescriptorData* data) {
196 Register registers[] = {ArgumentRegister()}; 189 Register registers[] = {ArgumentRegister()};
197 data->InitializePlatformSpecific(arraysize(registers), registers); 190 data->InitializePlatformSpecific(arraysize(registers), registers);
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); 530 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction();
538 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); 531 function->InitParameter(kAccumulatorParameter, AnyTagged(zone));
539 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); 532 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone));
540 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); 533 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone));
541 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); 534 function->InitParameter(kDispatchTableParameter, AnyTagged(zone));
542 return function; 535 return function;
543 } 536 }
544 537
545 } // namespace internal 538 } // namespace internal
546 } // namespace v8 539 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698