Ignore:
Timestamp:
Jan 12, 2003, 10:43:08 AM (22 years ago)
Author:
darin
Message:

Reviewed by John.

  • changes inspired by things I noticed reviewing diffs vs. KDE when preparing the tarball
  • kjs/function.cpp: (GlobalFuncImp::call): Use strtol when strtoll is not available. Do #ifndef NDEBUG, not #if !NDEBUG.
  • kjs/function.h: Do #ifndef NDEBUG, not #if !NDEBUG.
  • kjs/internal.cpp: (InterpreterImp::initGlobalObject): Do #ifndef NDEBUG, not #if !NDEBUG. (KJS::printInfo): Remove case for ListType and remove default case that just ends up suppressing the "missing case" warning and does no good.
  • kjs/interpreter.cpp: (Interpreter::evaluate): Do #ifndef NDEBUG, not #if !NDEBUG.
  • kjs/nodes.cpp: (Node::finalCheck): Fix accidentally-deleted code in an ifdef we never compile. (FunctionCallNode::evaluate): Remove bogus XXX comment. Maciej put this comment in, and together we determined it's not needed. (TypeOfNode::evaluate): Ditto.
  • kjs/object.cpp: Remove assert that refers to ListType.
  • kjs/value.h: Remove ListType.
File:
1 edited

Legend:

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

    r3098 r3306  
    649649  global.put(globExec,"escape",     Object(new GlobalFuncImp(globExec,funcProto,GlobalFuncImp::Escape,     1)), DontEnum);
    650650  global.put(globExec,"unescape",   Object(new GlobalFuncImp(globExec,funcProto,GlobalFuncImp::UnEscape,   1)), DontEnum);
    651 #if !NDEBUG
     651#ifndef NDEBUG
    652652  global.put(globExec,"kjsprint",   Object(new GlobalFuncImp(globExec,funcProto,GlobalFuncImp::KJSPrint,   1)), DontEnum);
    653653#endif
     
    897897        name = "(unknown class)";
    898898      break;
    899     case ListType:
    900       name = "List";
    901       break;
    902     default:
    903       break;
    904899    }
    905900    UString vString = v.toString(exec);
Note: See TracChangeset for help on using the changeset viewer.