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

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

Issue 1556913002: Use register arguments for RestParamAccessStub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 4 years, 11 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') | no next file » | 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 const Register ArgumentsAccessReadDescriptor::index() { return rdx; } 57 const Register ArgumentsAccessReadDescriptor::index() { return rdx; }
58 const Register ArgumentsAccessReadDescriptor::parameter_count() { return rax; } 58 const Register ArgumentsAccessReadDescriptor::parameter_count() { return rax; }
59 59
60 60
61 const Register ArgumentsAccessNewDescriptor::function() { return rdi; } 61 const Register ArgumentsAccessNewDescriptor::function() { return rdi; }
62 const Register ArgumentsAccessNewDescriptor::parameter_count() { return rcx; } 62 const Register ArgumentsAccessNewDescriptor::parameter_count() { return rcx; }
63 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return rdx; } 63 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return rdx; }
64 64
65 65
66 const Register RestParamAccessDescriptor::parameter_count() { return rcx; }
67 const Register RestParamAccessDescriptor::parameter_pointer() { return rdx; }
68 const Register RestParamAccessDescriptor::rest_parameter_index() { return rbx; }
69 const Register RestParamAccessDescriptor::language_mode() { return rdi; }
70
71
66 const Register ApiGetterDescriptor::function_address() { return r8; } 72 const Register ApiGetterDescriptor::function_address() { return r8; }
67 73
68 74
69 const Register MathPowTaggedDescriptor::exponent() { return rdx; } 75 const Register MathPowTaggedDescriptor::exponent() { return rdx; }
70 76
71 77
72 const Register MathPowIntegerDescriptor::exponent() { 78 const Register MathPowIntegerDescriptor::exponent() {
73 return MathPowTaggedDescriptor::exponent(); 79 return MathPowTaggedDescriptor::exponent();
74 } 80 }
75 81
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 r15, // address of first argument (argv) 438 r15, // address of first argument (argv)
433 rbx // the runtime function to call 439 rbx // the runtime function to call
434 }; 440 };
435 data->InitializePlatformSpecific(arraysize(registers), registers); 441 data->InitializePlatformSpecific(arraysize(registers), registers);
436 } 442 }
437 443
438 } // namespace internal 444 } // namespace internal
439 } // namespace v8 445 } // namespace v8
440 446
441 #endif // V8_TARGET_ARCH_X64 447 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698