Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index ceccf35e6a0ffbf78154c80bd1b099e25c5006d3..8cc280a0cebb649261cb777919d06bff5dc2dd65 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -213,6 +213,17 @@ void CallTrampolineDescriptor::InitializePlatformSpecific( |
} |
+void ConstructStubDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // r0 : number of arguments |
+ // r1 : the target to call |
+ // r3 : the new target |
+ // r2 : allocation site or undefined |
+ Register registers[] = {r1, r3, r0, r2}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// r0 : number of arguments |