Ignore:
Timestamp:
Oct 2, 2013, 12:11:04 PM (12 years ago)
Author:
[email protected]
Message:

Implement prefixed-destructuring assignment
https://bugs.webkit.org/show_bug.cgi?id=121930

Reviewed by Mark Hahnenberg.

Source/JavaScriptCore:

Relanding with fix after rollout - it helps to not completely destroy
optimisations for no reason.

LayoutTests:

Relanding with fix after rollout - it helps to not completely destroy
optimisations for no reason.

File:
1 edited

Legend:

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

    r156757 r156785  
    303303    }
    304304}
    305    
     305
     306void escapeStringToBuilder(StringBuilder& builder, const String& message)
     307{
     308    if (message.is8Bit())
     309        appendStringToStringBuilder(builder, message.characters8(), message.length());
     310    else
     311        appendStringToStringBuilder(builder, message.characters16(), message.length());
     312}
     313
    306314void Stringifier::appendQuotedString(StringBuilder& builder, const String& value)
    307315{
Note: See TracChangeset for help on using the changeset viewer.