Fix typo in fast path for scanning json strings.

Review URL: https://chromiumcodereview.appspot.com/11191055

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12753 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
verwaest@chromium.org 2012-10-18 11:47:06 +00:00
parent 971e834a8d
commit a38af4256c

View File

@ -584,7 +584,7 @@ Handle<String> JsonParser<seq_ascii>::ScanJsonString() {
position_,
position);
}
if (c0_ < 0x20) return Handle<String>::null();
if (c0 < 0x20) return Handle<String>::null();
running_hash = StringHasher::AddCharacterCore(running_hash, c0);
position++;
if (position >= source_length_) return Handle<String>::null();