Ignore:
Timestamp:
Nov 22, 2002, 3:20:01 PM (23 years ago)
Author:
darin
Message:
  • prepare to reimplement KJS::List; move to its own file, add statistics
  • kjs/function_object.cpp: (FunctionProtoFuncImp::call): Use new copyTail() function rather than copy() and removeFirst().
  • kjs/identifier.cpp: Add statistics, off by default.
  • kjs/property_map.cpp: Add statistics, off by default.
  • kjs/list.cpp: Added. Moved code here. To be rewritten.
  • kjs/list.h: Added. Moved interface here. To be rewritten.
  • kjs/types.cpp: Removed.
  • kjs/types.h: Now just an empty header that includes other headers.
File:
1 edited

Legend:

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

    r2824 r2834  
    161161      callThis = thisArg.toObject(exec);
    162162
    163     List callArgs = args.copy();
    164     callArgs.removeFirst();
    165     result = func.call(exec,callThis,callArgs);
     163    result = func.call(exec,callThis,args.copyTail());
    166164    }
    167165    break;
Note: See TracChangeset for help on using the changeset viewer.