Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 229d25f15cd86eeec52768107677202057a0b24b..a1b8756036a3ad274f59f358d613ea943a4657f7 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -88,6 +88,13 @@ RUNTIME_FUNCTION(Runtime_ThrowStackOverflow) { |
return isolate->StackOverflow(); |
} |
+RUNTIME_FUNCTION(Runtime_ThrowSymbolAsyncIteratorInvalid) { |
+ HandleScope scope(isolate); |
+ DCHECK_EQ(0, args.length()); |
+ THROW_NEW_ERROR_RETURN_FAILURE( |
+ isolate, NewTypeError(MessageTemplate::kSymbolAsyncIteratorInvalid)); |
+} |
+ |
RUNTIME_FUNCTION(Runtime_ThrowTypeError) { |
HandleScope scope(isolate); |
DCHECK_LE(1, args.length()); |
@@ -503,5 +510,12 @@ RUNTIME_FUNCTION(Runtime_AllowDynamicFunction) { |
Builtins::AllowDynamicFunction(isolate, target, global_proxy)); |
} |
+RUNTIME_FUNCTION(Runtime_CreateAsyncFromSyncIterator) { |
+ // TODO(caitp): split AsyncFromSyncIterator functionality out of |
+ // https://codereview.chromium.org/2622833002 |
+ UNREACHABLE(); |
+ return isolate->heap()->undefined_value(); |
+} |
+ |
} // namespace internal |
} // namespace v8 |