Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: src/json-parser.h

Issue 11186059: Fixed json regression (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-2374.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/json-parser.h
diff --git a/src/json-parser.h b/src/json-parser.h
index 9ccc8ed1fb320c087b0fbaddf01d2b9bc9fddb2b..326a771db9600c90915d7bfc8c4a4562e68b4787 100644
--- a/src/json-parser.h
+++ b/src/json-parser.h
@@ -343,6 +343,7 @@ Handle<Object> JsonParser<seq_ascii>::ParseJsonObject() {
} else {
JSObject::SetLocalPropertyIgnoreAttributes(
json_object, key, value, NONE);
+ current_index = json_object->NumberOfLocalProperties();
}
}
}
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-2374.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698