Ignore:
Timestamp:
Nov 21, 2002, 7:39:47 AM (23 years ago)
Author:
darin
Message:
  • add self-check to property map in hopes of finding the cnet.com bug
  • kjs/property_map.h: Add check() function.
  • kjs/property_map.cpp: Add the checking, controlled by DO_CONSISTENCY_CHECK.
  • fixed UChar interface so it's not so slow in debug builds
  • kjs/ustring.h: Nothing in UChar needs to be private.
  • kjs/function.cpp: (GlobalFuncImp::call):
  • kjs/function_object.cpp: (FunctionObjectImp::construct):
  • kjs/identifier.cpp:
  • kjs/lexer.cpp: (Lexer::setCode), (Lexer::shift):
  • kjs/lookup.cpp: (keysMatch):
  • kjs/ustring.cpp: (UString::Rep::computeHash), (KJS::compare): Use the "uc" field instead of the "unicode()" inline function.
File:
1 edited

Legend:

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

    r2783 r2800  
    250250      while (*c == ' ' && i < len)
    251251          c++, i++;
    252       if (Lexer::isIdentLetter(c->unicode())) {  // else error
     252      if (Lexer::isIdentLetter(c->uc)) {  // else error
    253253          param = UString(c, 1);
    254254          c++, i++;
    255           while (i < len && (Lexer::isIdentLetter(c->unicode()) ||
    256                              Lexer::isDecimalDigit(c->unicode()))) {
     255          while (i < len && (Lexer::isIdentLetter(c->uc) ||
     256                             Lexer::isDecimalDigit(c->uc))) {
    257257              param += UString(c, 1);
    258258              c++, i++;
Note: See TracChangeset for help on using the changeset viewer.