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

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

Issue 1557283002: X87: Use register arguments for RestParamAccessStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/x87/code-stubs-x87.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_X87 5 #if V8_TARGET_ARCH_X87
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 61
62 const Register ArgumentsAccessReadDescriptor::index() { return edx; } 62 const Register ArgumentsAccessReadDescriptor::index() { return edx; }
63 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } 63 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; }
64 64
65 65
66 const Register ArgumentsAccessNewDescriptor::function() { return edi; } 66 const Register ArgumentsAccessNewDescriptor::function() { return edi; }
67 const Register ArgumentsAccessNewDescriptor::parameter_count() { return ecx; } 67 const Register ArgumentsAccessNewDescriptor::parameter_count() { return ecx; }
68 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return edx; } 68 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return edx; }
69 69
70 const Register RestParamAccessDescriptor::parameter_count() { return ecx; }
71 const Register RestParamAccessDescriptor::parameter_pointer() { return edx; }
72 const Register RestParamAccessDescriptor::rest_parameter_index() { return ebx; }
73 const Register RestParamAccessDescriptor::language_mode() { return edi; }
74
70 75
71 const Register ApiGetterDescriptor::function_address() { return edx; } 76 const Register ApiGetterDescriptor::function_address() { return edx; }
72 77
73 78
74 const Register MathPowTaggedDescriptor::exponent() { return eax; } 79 const Register MathPowTaggedDescriptor::exponent() { return eax; }
75 80
76 81
77 const Register MathPowIntegerDescriptor::exponent() { 82 const Register MathPowIntegerDescriptor::exponent() {
78 return MathPowTaggedDescriptor::exponent(); 83 return MathPowTaggedDescriptor::exponent();
79 } 84 }
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 ecx, // address of first argument (argv) 444 ecx, // address of first argument (argv)
440 ebx // the runtime function to call 445 ebx // the runtime function to call
441 }; 446 };
442 data->InitializePlatformSpecific(arraysize(registers), registers); 447 data->InitializePlatformSpecific(arraysize(registers), registers);
443 } 448 }
444 449
445 } // namespace internal 450 } // namespace internal
446 } // namespace v8 451 } // namespace v8
447 452
448 #endif // V8_TARGET_ARCH_X87 453 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698