Ignore:
Timestamp:
Mar 4, 2003, 4:41:21 PM (22 years ago)
Author:
darin
Message:

Reviewed by Maciej.

  • got rid of some framework initialization (working on bug 2959353)
  • kjs/identifier.h: Turn Identifier:null into Identifier:null().
  • kjs/identifier.cpp: Removed Identifier:null and added Identifier:null().
  • kjs/internal.cpp: Made NaN_Bytes and Inf_Bytes const.
  • kjs/completion.h: Use Identifier:null() instead of Identifier:null.
  • kjs/function.h: Ditto.
  • kjs/function_object.cpp: (FunctionObjectImp::construct): Ditto.
  • kjs/nodes.cpp: (FuncExprNode::evaluate): Use Identifier:null() instead of Identifier:null.
File:
1 edited

Legend:

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

    r3736 r3745  
    4444#endif
    4545
    46 Identifier Identifier::null;
    47 
    4846extern const Identifier argumentsPropertyName("arguments");
    4947extern const Identifier calleePropertyName("callee");
     
    297295}
    298296
     297const Identifier &Identifier::null()
     298{
     299    static Identifier null;
     300    return null;
     301}
     302
    299303} // namespace KJS
Note: See TracChangeset for help on using the changeset viewer.