Ignore:
Timestamp:
Aug 19, 2005, 1:24:17 PM (20 years ago)
Author:
darin
Message:

Reviewed by Maciej.

  • kjs/identifier.h: Add a new global nullIdentifier and make Identifier::null a function that returns it.
  • kjs/identifier.cpp: (KJS::Identifier::init): Initialize a global for the null identifier as well as all the other globals for special identifiers.
  • kjs/ustring.h: (KJS::UString::UString): Make this empty constructor inline.
  • kjs/ustring.cpp: Remove the old non-inline version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/ustring.cpp

    r9992 r10265  
    389389}
    390390
    391 
    392 UString::UString()
    393 {
    394   attach(&Rep::null);
    395 }
    396391
    397392UString::UString(char c)
     
    11271122    return *this;
    11281123
    1129   UString::Rep *newRep = Rep::create(rep, pos, len);
     1124  Rep *newRep = Rep::create(rep, pos, len);
    11301125  UString result(newRep);
    11311126  newRep->deref();
Note: See TracChangeset for help on using the changeset viewer.