Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index 619af3f7b9b128a0c9c456a7b1117677a2b8daf0..a5dccc3583548c3efc25e426e3fee8ff6b9e75ed 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -492,6 +492,24 @@ |
machine_types); |
} |
+void RegExpExecDescriptor::InitializePlatformIndependent( |
+ CallInterfaceDescriptorData* data) { |
+ // kString, kLastIndex, kStringStart, kStringEnd, kEntryPoint |
+ MachineType machine_types[] = {MachineType::AnyTagged(), MachineType::Int32(), |
+ MachineType::Pointer(), MachineType::Pointer(), |
+ MachineType::AnyTagged()}; |
+ data->InitializePlatformIndependent(arraysize(machine_types), 0, |
+ machine_types); |
+} |
+ |
+void RegExpExecDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = {StringRegister(), LastIndexRegister(), |
+ StringStartRegister(), StringEndRegister(), |
+ CodeRegister()}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void BuiltinDescriptor::InitializePlatformIndependent( |
CallInterfaceDescriptorData* data) { |
// kTarget, kNewTarget, kArgumentsCount |