Chromium Code Reviews| Index: src/runtime/runtime-internal.cc |
| diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
| index 5c8f049f741df7f10569f1eff5d7e59c1be20ae6..cf16ada44a7da1eae02f1ff197452a22277ca308 100644 |
| --- a/src/runtime/runtime-internal.cc |
| +++ b/src/runtime/runtime-internal.cc |
| @@ -225,6 +225,13 @@ RUNTIME_FUNCTION(Runtime_ThrowSymbolIteratorInvalid) { |
| isolate, NewTypeError(MessageTemplate::kSymbolIteratorInvalid)); |
| } |
| +RUNTIME_FUNCTION(Runtime_ThrowSymbolAsyncIteratorInvalid) { |
| + HandleScope scope(isolate); |
| + DCHECK(args.length() == 0); |
|
neis
2017/01/20 14:38:16
DCHECK_EQ
|
| + THROW_NEW_ERROR_RETURN_FAILURE( |
| + isolate, NewTypeError(MessageTemplate::kSymbolAsyncIteratorInvalid)); |
| +} |
| + |
| RUNTIME_FUNCTION(Runtime_ThrowNotGeneric) { |
| HandleScope scope(isolate); |
| DCHECK_EQ(1, args.length()); |
| @@ -498,5 +505,11 @@ 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(); |
| +} |
| + |
| } // namespace internal |
| } // namespace v8 |