Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index b27f5512717f91db6c9fe36fb78e5d52cd2999ac..1ff58572f3f266f9f0b1c17901ca680da33c9152 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -1102,7 +1102,7 @@ class Parser : public ParserBase<ParserTraits> { |
TryStatement* ParseTryStatement(bool* ok); |
DebuggerStatement* ParseDebuggerStatement(bool* ok); |
- // !%_IsSpecObject(result = iterator.next()) && |
+ // !%_IsJSReceiver(result = iterator.next()) && |
// %ThrowIteratorResultNotAnObject(result) |
Expression* BuildIteratorNextResult(Expression* iterator, Variable* result, |
int pos); |