Index: src/runtime/runtime-classes.cc |
diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc |
index 104973852ea3bbc15cf6852fac9519c74a41a304..75d3a5d8bf8d8c1e428a19e40dee22d36403eb06 100644 |
--- a/src/runtime/runtime-classes.cc |
+++ b/src/runtime/runtime-classes.cc |
@@ -489,27 +489,6 @@ RUNTIME_FUNCTION(Runtime_StoreKeyedToSuper_Sloppy) { |
} |
-RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 2); |
- CONVERT_ARG_HANDLE_CHECKED(JSFunction, new_target, 0); |
- CONVERT_ARG_HANDLE_CHECKED(JSFunction, super_constructor, 1); |
- JavaScriptFrameIterator it(isolate); |
- |
- // Determine the actual arguments passed to the function. |
- int argument_count = 0; |
- base::SmartArrayPointer<Handle<Object>> arguments = |
- Runtime::GetCallerArguments(isolate, 0, &argument_count); |
- |
- Handle<Object> result; |
- ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
- isolate, result, Execution::New(isolate, super_constructor, new_target, |
- argument_count, arguments.get())); |
- |
- return *result; |
-} |
- |
- |
RUNTIME_FUNCTION(Runtime_GetSuperConstructor) { |
SealHandleScope shs(isolate); |
DCHECK_EQ(1, args.length()); |