| Index: src/runtime/runtime-classes.cc
|
| diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc
|
| index dc827284cf131ac9fd1792913a751bbc8346585b..104973852ea3bbc15cf6852fac9519c74a41a304 100644
|
| --- a/src/runtime/runtime-classes.cc
|
| +++ b/src/runtime/runtime-classes.cc
|
| @@ -509,5 +509,13 @@ RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) {
|
| return *result;
|
| }
|
|
|
| +
|
| +RUNTIME_FUNCTION(Runtime_GetSuperConstructor) {
|
| + SealHandleScope shs(isolate);
|
| + DCHECK_EQ(1, args.length());
|
| + CONVERT_ARG_CHECKED(JSFunction, active_function, 0);
|
| + return active_function->map()->prototype();
|
| +}
|
| +
|
| } // namespace internal
|
| } // namespace v8
|
|
|