summaryrefslogtreecommitdiff
path: root/deps/v8/src/arm64/interface-descriptors-arm64.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/arm64/interface-descriptors-arm64.cc')
-rw-r--r--deps/v8/src/arm64/interface-descriptors-arm64.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/deps/v8/src/arm64/interface-descriptors-arm64.cc b/deps/v8/src/arm64/interface-descriptors-arm64.cc
index bb1c22aff5..905cc51a57 100644
--- a/deps/v8/src/arm64/interface-descriptors-arm64.cc
+++ b/deps/v8/src/arm64/interface-descriptors-arm64.cc
@@ -89,9 +89,9 @@ void CallVarargsDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
// x0 : number of arguments (on the stack, not including receiver)
// x1 : the target to call
- // x2 : arguments list (FixedArray)
// x4 : arguments list length (untagged)
- Register registers[] = {x1, x0, x2, x4};
+ // x2 : arguments list (FixedArray)
+ Register registers[] = {x1, x0, x4, x2};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
@@ -126,9 +126,9 @@ void ConstructVarargsDescriptor::InitializePlatformSpecific(
// x0 : number of arguments (on the stack, not including receiver)
// x1 : the target to call
// x3 : the new target
- // x2 : arguments list (FixedArray)
// x4 : arguments list length (untagged)
- Register registers[] = {x1, x3, x0, x2, x4};
+ // x2 : arguments list (FixedArray)
+ Register registers[] = {x1, x3, x0, x4, x2};
data->InitializePlatformSpecific(arraysize(registers), registers);
}
@@ -198,7 +198,7 @@ void BinaryOpDescriptor::InitializePlatformSpecific(
data->InitializePlatformSpecific(arraysize(registers), registers);
}
-void ArgumentAdaptorDescriptor::InitializePlatformSpecific(
+void ArgumentsAdaptorDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
x1, // JSFunction
@@ -242,10 +242,10 @@ void InterpreterPushArgsThenConstructDescriptor::InitializePlatformSpecific(
CallInterfaceDescriptorData* data) {
Register registers[] = {
x0, // argument count (not including receiver)
- x3, // new target
+ x4, // address of the first argument
x1, // constructor to call
+ x3, // new target
x2, // allocation site feedback if available, undefined otherwise
- x4 // address of the first argument
};
data->InitializePlatformSpecific(arraysize(registers), registers);
}