Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index bd1845f8bd2c19290610223fc1916d79f5d26e41..78ad77b9bd2d45bc243858ae09ad079029b2d1ac 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -88,6 +88,16 @@ const Register FastNewObjectDescriptor::NewTargetRegister() { |
return kJavaScriptCallNewTargetRegister; |
} |
+void FastNewArgumentsDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = {TargetRegister()}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+const Register FastNewArgumentsDescriptor::TargetRegister() { |
+ return kJSFunctionRegister; |
+} |
+ |
void LoadDescriptor::InitializePlatformIndependent( |
CallInterfaceDescriptorData* data) { |
// kReceiver, kName, kSlot |