Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 6ffb667f2df52d1324f574f138ef4a3f4eab9123..e7491ba3f485ef98751f3ceb4eeb639112daceb8 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -232,14 +232,6 @@ |
THROW_NEW_ERROR_RETURN_FAILURE( |
isolate, |
NewTypeError(MessageTemplate::kIteratorResultNotAnObject, value)); |
-} |
- |
-RUNTIME_FUNCTION(Runtime_ThrowNotGeneric) { |
- HandleScope scope(isolate); |
- DCHECK_EQ(1, args.length()); |
- CONVERT_ARG_HANDLE_CHECKED(Object, arg0, 0); |
- THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewTypeError(MessageTemplate::kNotGeneric, arg0)); |
} |
RUNTIME_FUNCTION(Runtime_ThrowGeneratorRunning) { |