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

Side by Side Diff: src/arm/interface-descriptors-arm.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/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 const Register ArgumentsAccessReadDescriptor::index() { return r1; } 59 const Register ArgumentsAccessReadDescriptor::index() { return r1; }
60 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r0; } 60 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r0; }
61 61
62 62
63 const Register ArgumentsAccessNewDescriptor::function() { return r1; } 63 const Register ArgumentsAccessNewDescriptor::function() { return r1; }
64 const Register ArgumentsAccessNewDescriptor::parameter_count() { return r2; } 64 const Register ArgumentsAccessNewDescriptor::parameter_count() { return r2; }
65 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return r3; } 65 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return r3; }
66 66
67 67
68 const Register RestParamAccessDescriptor::parameter_count() { return r2; }
69 const Register RestParamAccessDescriptor::parameter_pointer() { return r3; }
70 const Register RestParamAccessDescriptor::rest_parameter_index() { return r4; }
71 const Register RestParamAccessDescriptor::language_mode() { return r1; }
72
73
68 const Register ApiGetterDescriptor::function_address() { return r2; } 74 const Register ApiGetterDescriptor::function_address() { return r2; }
69 75
70 76
71 const Register MathPowTaggedDescriptor::exponent() { return r2; } 77 const Register MathPowTaggedDescriptor::exponent() { return r2; }
72 78
73 79
74 const Register MathPowIntegerDescriptor::exponent() { 80 const Register MathPowIntegerDescriptor::exponent() {
75 return MathPowTaggedDescriptor::exponent(); 81 return MathPowTaggedDescriptor::exponent();
76 } 82 }
77 83
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 r2, // address of first argument (argv) 464 r2, // address of first argument (argv)
459 r1 // the runtime function to call 465 r1 // the runtime function to call
460 }; 466 };
461 data->InitializePlatformSpecific(arraysize(registers), registers); 467 data->InitializePlatformSpecific(arraysize(registers), registers);
462 } 468 }
463 469
464 } // namespace internal 470 } // namespace internal
465 } // namespace v8 471 } // namespace v8
466 472
467 #endif // V8_TARGET_ARCH_ARM 473 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698