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/function.cpp

    r3098 r3306  
    484484    double value = llValue;
    485485#else
    486     long value = strtoll(cstr.c_str(), &endptr, radix);
     486    long value = strtol(cstr.c_str(), &endptr, radix);
    487487#endif
    488488    if (errno != 0 || endptr == cstr.c_str())
     
    546546    break;
    547547  }
    548 #if !NDEBUG
     548#ifndef NDEBUG
    549549  case KJSPrint: {
    550550    UString str = args[0].toString(exec);
Note: See TracChangeset for help on using the changeset viewer.