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

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

Issue 2190293003: [Interpreter] Collect type feedback for 'new' in the bytecode handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updated cctest.status and mjsunit.status Created 4 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 | « no previous file | src/arm64/interface-descriptors-arm64.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/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 }; 396 };
397 data->InitializePlatformSpecific(arraysize(registers), registers); 397 data->InitializePlatformSpecific(arraysize(registers), registers);
398 } 398 }
399 399
400 void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( 400 void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
401 CallInterfaceDescriptorData* data) { 401 CallInterfaceDescriptorData* data) {
402 Register registers[] = { 402 Register registers[] = {
403 r0, // argument count (not including receiver) 403 r0, // argument count (not including receiver)
404 r3, // new target 404 r3, // new target
405 r1, // constructor to call 405 r1, // constructor to call
406 r2 // address of the first argument 406 r2, // allocation site feedback if available, undefined otherwise
407 r4 // address of the first argument
407 }; 408 };
408 data->InitializePlatformSpecific(arraysize(registers), registers); 409 data->InitializePlatformSpecific(arraysize(registers), registers);
409 } 410 }
410 411
411 void InterpreterCEntryDescriptor::InitializePlatformSpecific( 412 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
412 CallInterfaceDescriptorData* data) { 413 CallInterfaceDescriptorData* data) {
413 Register registers[] = { 414 Register registers[] = {
414 r0, // argument count (argc) 415 r0, // argument count (argc)
415 r2, // address of first argument (argv) 416 r2, // address of first argument (argv)
416 r1 // the runtime function to call 417 r1 // the runtime function to call
417 }; 418 };
418 data->InitializePlatformSpecific(arraysize(registers), registers); 419 data->InitializePlatformSpecific(arraysize(registers), registers);
419 } 420 }
420 421
421 void ResumeGeneratorDescriptor::InitializePlatformSpecific( 422 void ResumeGeneratorDescriptor::InitializePlatformSpecific(
422 CallInterfaceDescriptorData* data) { 423 CallInterfaceDescriptorData* data) {
423 Register registers[] = { 424 Register registers[] = {
424 r0, // the value to pass to the generator 425 r0, // the value to pass to the generator
425 r1, // the JSGeneratorObject to resume 426 r1, // the JSGeneratorObject to resume
426 r2 // the resume mode (tagged) 427 r2 // the resume mode (tagged)
427 }; 428 };
428 data->InitializePlatformSpecific(arraysize(registers), registers); 429 data->InitializePlatformSpecific(arraysize(registers), registers);
429 } 430 }
430 431
431 } // namespace internal 432 } // namespace internal
432 } // namespace v8 433 } // namespace v8
433 434
434 #endif // V8_TARGET_ARCH_ARM 435 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698