Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index d93ffdb846a8f2206031cce3002709deb4a3c18b..8a5bdeb60dc1ca292a58db550f0f5332fb94fdab 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -431,13 +431,6 @@ |
isolate, NewTypeError(MessageTemplate::kCalledNonCallable, callsite)); |
} |
-RUNTIME_FUNCTION(Runtime_ThrowCalledOnNullOrUndefined) { |
- HandleScope scope(isolate); |
- DCHECK_EQ(1, args.length()); |
- CONVERT_ARG_HANDLE_CHECKED(String, name, 0); |
- THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewTypeError(MessageTemplate::kCalledOnNullOrUndefined, name)); |
-} |
RUNTIME_FUNCTION(Runtime_ThrowConstructedNonConstructable) { |
HandleScope scope(isolate); |