Reviewers: adamk,
Message:
Committed patchset #1 (id:1) manually as
592756682a5f264bb8270be313dd16e52a1de8e1 (tree was closed).
Description:
Revert extra commit
"for-of should throw if result object is not an object"
The CQ committed the CL twice
This reverts commit ab2591ed9332086581ee25ef735cd1b3bbd7e2f0.
BUG=None
TBR=adamk
Committed:
https://chromium.googlesource.com/v8/v8/+/592756682a5f264bb8270be313dd16e52a1de8e1
Please review this at https://codereview.chromium.org/951133002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+0, -10 lines):
M src/runtime/runtime-internal.cc
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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.