Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 43c0a8b36d3ab5c486de394a6f8d17815bbd8982..6c2b79e6f09c4f91fb1fdb05a8bcb7af53d62e5b 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -209,6 +209,13 @@ RUNTIME_FUNCTION(Runtime_ThrowIteratorResultNotAnObject) { |
NewTypeError(MessageTemplate::kIteratorResultNotAnObject, value)); |
} |
+RUNTIME_FUNCTION(Runtime_ThrowSymbolIteratorInvalid) { |
+ HandleScope scope(isolate); |
+ DCHECK(args.length() == 0); |
+ THROW_NEW_ERROR_RETURN_FAILURE( |
+ isolate, NewTypeError(MessageTemplate::kSymbolIteratorInvalid)); |
+} |
+ |
RUNTIME_FUNCTION(Runtime_ThrowNotGeneric) { |
HandleScope scope(isolate); |
DCHECK_EQ(1, args.length()); |