Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index aa8b3d091d20d383297a7b0ee752468c01318c8a..3ba619281a88dc9e6fd0ecb8f3db8acfc0352218 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()); |