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

Side by Side Diff: src/ia32/interface-descriptors-ia32.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/ia32/code-stubs-ia32.cc ('k') | src/interface-descriptors.h » ('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_IA32 5 #if V8_TARGET_ARCH_IA32
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 70
71 const Register RestParamAccessDescriptor::parameter_count() { return ecx; }
72 const Register RestParamAccessDescriptor::parameter_pointer() { return edx; }
73 const Register RestParamAccessDescriptor::rest_parameter_index() { return ebx; }
74 const Register RestParamAccessDescriptor::language_mode() { return edi; }
75
76
71 const Register ApiGetterDescriptor::function_address() { return edx; } 77 const Register ApiGetterDescriptor::function_address() { return edx; }
72 78
73 79
74 const Register MathPowTaggedDescriptor::exponent() { return eax; } 80 const Register MathPowTaggedDescriptor::exponent() { return eax; }
75 81
76 82
77 const Register MathPowIntegerDescriptor::exponent() { 83 const Register MathPowIntegerDescriptor::exponent() {
78 return MathPowTaggedDescriptor::exponent(); 84 return MathPowTaggedDescriptor::exponent();
79 } 85 }
80 86
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 ecx, // address of first argument (argv) 445 ecx, // address of first argument (argv)
440 ebx // the runtime function to call 446 ebx // the runtime function to call
441 }; 447 };
442 data->InitializePlatformSpecific(arraysize(registers), registers); 448 data->InitializePlatformSpecific(arraysize(registers), registers);
443 } 449 }
444 450
445 } // namespace internal 451 } // namespace internal
446 } // namespace v8 452 } // namespace v8
447 453
448 #endif // V8_TARGET_ARCH_IA32 454 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698