Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 0d1ba004b5862a9c6a560f0abeeca769a151ef35..9fe6a3b6639dabee7dd3322fd61d9168bc6b8f33 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -2922,6 +2922,7 @@ Statement* Parser::ParseForStatement(ZoneStringList* labels, bool* ok) { |
Factory* heap_factory = isolate()->factory(); |
Handle<String> tempstr = |
heap_factory->NewConsString(heap_factory->dot_for_string(), name); |
+ RETURN_IF_EMPTY_HANDLE_VALUE(isolate(), tempstr, 0); |
Handle<String> tempname = heap_factory->InternalizeString(tempstr); |
Variable* temp = scope_->DeclarationScope()->NewTemporary(tempname); |
VariableProxy* temp_proxy = factory()->NewVariableProxy(temp); |