Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index b10b52298bc811b9ddb5cbb26e0aa066ab33514c..d131f0f7df22e940a3053dbcaa7d6aa3a8b8408b 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -410,6 +410,16 @@ void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void ResumeGeneratorDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ rax, // the value to pass to the generator |
+ rbx, // the JSGeneratorObject to resume |
+ rdx // the resume mode (tagged) |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
} // namespace internal |
} // namespace v8 |