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

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

Issue 2212343002: Revert of [Interpreter] Collect type feedback for 'new' in the bytecode handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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, // allocation site feedback if available, undefined otherwise 406 r2 // address of the first argument
407 r4 // address of the first argument
408 }; 407 };
409 data->InitializePlatformSpecific(arraysize(registers), registers); 408 data->InitializePlatformSpecific(arraysize(registers), registers);
410 } 409 }
411 410
412 void InterpreterCEntryDescriptor::InitializePlatformSpecific( 411 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
413 CallInterfaceDescriptorData* data) { 412 CallInterfaceDescriptorData* data) {
414 Register registers[] = { 413 Register registers[] = {
415 r0, // argument count (argc) 414 r0, // argument count (argc)
416 r2, // address of first argument (argv) 415 r2, // address of first argument (argv)
417 r1 // the runtime function to call 416 r1 // the runtime function to call
418 }; 417 };
419 data->InitializePlatformSpecific(arraysize(registers), registers); 418 data->InitializePlatformSpecific(arraysize(registers), registers);
420 } 419 }
421 420
422 void ResumeGeneratorDescriptor::InitializePlatformSpecific( 421 void ResumeGeneratorDescriptor::InitializePlatformSpecific(
423 CallInterfaceDescriptorData* data) { 422 CallInterfaceDescriptorData* data) {
424 Register registers[] = { 423 Register registers[] = {
425 r0, // the value to pass to the generator 424 r0, // the value to pass to the generator
426 r1, // the JSGeneratorObject to resume 425 r1, // the JSGeneratorObject to resume
427 r2 // the resume mode (tagged) 426 r2 // the resume mode (tagged)
428 }; 427 };
429 data->InitializePlatformSpecific(arraysize(registers), registers); 428 data->InitializePlatformSpecific(arraysize(registers), registers);
430 } 429 }
431 430
432 } // namespace internal 431 } // namespace internal
433 } // namespace v8 432 } // namespace v8
434 433
435 #endif // V8_TARGET_ARCH_ARM 434 #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