Ignore:
Timestamp:
Jul 25, 2011, 3:59:19 PM (14 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r91686.
http://trac.webkit.org/changeset/91686
https://bugs.webkit.org/show_bug.cgi?id=65144

1.5% regression in JSC (Requested by jmontemayor on #webkit).

Patch by Sheriff Bot <[email protected]> on 2011-07-25

Source/JavaScriptCore:

  • runtime/JSONObject.cpp:

(JSC::JSONProtoFuncParse):

  • runtime/LiteralParser.cpp:

(JSC::LiteralParser::Lexer::lex):
(JSC::LiteralParser::Lexer::lexString):
(JSC::LiteralParser::Lexer::lexNumber):
(JSC::LiteralParser::parse):

  • runtime/LiteralParser.h:

LayoutTests:

  • fast/js/JSON-parse-expected.txt:
  • platform/chromium/fast/js/JSON-parse-expected.txt: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSONObject.cpp

    r91686 r91715  
    820820    JSValue unfiltered = jsonParser.tryLiteralParse();
    821821    if (!unfiltered)
    822         return throwVMError(exec, createSyntaxError(exec, jsonParser.getErrorMessage()));
     822        return throwVMError(exec, createSyntaxError(exec, "Unable to parse JSON string"));
    823823   
    824824    if (exec->argumentCount() < 2)
Note: See TracChangeset for help on using the changeset viewer.