Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 802dfd21f582804113b42d12a631cb44e68ef2e7..33234cd19f73b7b582a201a6c9158f349376ca36 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -65,16 +65,6 @@ RUNTIME_FUNCTION(Runtime_ThrowIteratorResultNotAnObject) { |
} |
-RUNTIME_FUNCTION(Runtime_ThrowIteratorResultNotAnObject) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(Object, value, 0); |
- THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, |
- NewTypeError("iterator_result_not_an_object", HandleVector(&value, 1))); |
-} |
- |
- |
RUNTIME_FUNCTION(Runtime_PromiseRejectEvent) { |
DCHECK(args.length() == 3); |
HandleScope scope(isolate); |