Ignore:
Timestamp:
Jul 29, 2008, 1:16:17 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Oliver Hunt.

Store UString::Rep::isStatic bit in identifierTable pointer instead of reportedCost for
slightly nicer code and a 0.5% SunSpider improvement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSStringRef.cpp

    r35159 r35418  
    6565{
    6666    UString::Rep* rep = toJS(string);
    67     bool needsLocking = rep->identifierTable;
     67    bool needsLocking = rep->identifierTable();
    6868    if (needsLocking) {
    6969        // It is wasteful to take the lock for non-shared contexts, but we don't have a good way
Note: See TracChangeset for help on using the changeset viewer.