Revision: 12599
Author:   [email protected]
Date:     Mon Sep 24 08:03:09 2012
Log:      Fix failures caused by r12598.

[email protected]
BUG=

Review URL: https://chromiumcodereview.appspot.com/10958070
http://code.google.com/p/v8/source/detail?r=12599

Modified:
 /branches/bleeding_edge/src/json-parser.h

=======================================
--- /branches/bleeding_edge/src/json-parser.h   Mon Sep 24 07:23:46 2012
+++ /branches/bleeding_edge/src/json-parser.h   Mon Sep 24 08:03:09 2012
@@ -577,6 +577,7 @@
                                                         position_,
                                                         position);
       }
+      if (c0_ < 0x20) return Handle<String>::null();
       running_hash = StringHasher::AddCharacterCore(running_hash, c0);
       position++;
       if (position > source_length_) return Handle<String>::null();

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to