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

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

Issue 1693513002: [runtime] Introduce FastNewStrictArgumentsStub to optimize strict arguments. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix mips and mips64. Created 4 years, 10 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/x64/code-stubs-x64.cc ('k') | test/unittests/compiler/js-create-lowering-unittest.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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 data->InitializePlatformSpecific(arraysize(registers), registers); 91 data->InitializePlatformSpecific(arraysize(registers), registers);
92 } 92 }
93 93
94 94
95 void FastNewRestParameterDescriptor::InitializePlatformSpecific( 95 void FastNewRestParameterDescriptor::InitializePlatformSpecific(
96 CallInterfaceDescriptorData* data) { 96 CallInterfaceDescriptorData* data) {
97 Register registers[] = {rdi}; 97 Register registers[] = {rdi};
98 data->InitializePlatformSpecific(arraysize(registers), registers); 98 data->InitializePlatformSpecific(arraysize(registers), registers);
99 } 99 }
100 100
101 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific(
102 CallInterfaceDescriptorData* data) {
103 Register registers[] = {rdi};
104 data->InitializePlatformSpecific(arraysize(registers), registers);
105 }
106
101 107
102 void TypeofDescriptor::InitializePlatformSpecific( 108 void TypeofDescriptor::InitializePlatformSpecific(
103 CallInterfaceDescriptorData* data) { 109 CallInterfaceDescriptorData* data) {
104 Register registers[] = {rbx}; 110 Register registers[] = {rbx};
105 data->InitializePlatformSpecific(arraysize(registers), registers); 111 data->InitializePlatformSpecific(arraysize(registers), registers);
106 } 112 }
107 113
108 114
109 void ToNumberDescriptor::InitializePlatformSpecific( 115 void ToNumberDescriptor::InitializePlatformSpecific(
110 CallInterfaceDescriptorData* data) { 116 CallInterfaceDescriptorData* data) {
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 r15, // address of first argument (argv) 448 r15, // address of first argument (argv)
443 rbx // the runtime function to call 449 rbx // the runtime function to call
444 }; 450 };
445 data->InitializePlatformSpecific(arraysize(registers), registers); 451 data->InitializePlatformSpecific(arraysize(registers), registers);
446 } 452 }
447 453
448 } // namespace internal 454 } // namespace internal
449 } // namespace v8 455 } // namespace v8
450 456
451 #endif // V8_TARGET_ARCH_X64 457 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | test/unittests/compiler/js-create-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698