Ignore:
Timestamp:
Oct 16, 2007, 4:35:01 PM (18 years ago)
Author:
ggaren
Message:

Reviewed by Darin Adler.

Removed KJS_VERBOSE because it was getting in the way of readability,
and the messages didn't seem very helpful.

  • kjs/function.cpp: (KJS::FunctionImp::callAsFunction): (KJS::FunctionImp::passInParameters):
  • kjs/lookup.h: (KJS::lookupPut):
  • kjs/object.cpp: (KJS::JSObject::put):
  • kjs/value.h:
File:
1 edited

Legend:

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

    r26689 r26690  
    107107    comp = Completion(Throw, newExec.exception());
    108108
    109 #ifdef KJS_VERBOSE
    110   if (comp.complType() == Throw)
    111     printInfo(exec,"throwing", comp.value());
    112   else if (comp.complType() == ReturnValue)
    113     printInfo(exec,"returning", comp.value());
    114   else
    115     fprintf(stderr, "returning: undefined\n");
    116 #endif
    117 
    118109  // The debugger may have been deallocated by now if the WebFrame
    119110  // we were running in has been destroyed, so refetch it.
     
    152143    JSObject* variable = exec->context()->variableObject();
    153144
    154 #ifdef KJS_VERBOSE
    155     fprintf(stderr, "---------------------------------------------------\n"
    156           "processing parameters for %s call\n",
    157           functionName().isEmpty() ? "(internal)" : functionName().ascii());
    158 #endif
    159 
    160145    size_t size = parameters.size();
    161146    for (size_t i = 0; i < size; ++i) {
    162 #ifdef KJS_VERBOSE
    163       fprintf(stderr, "setting parameter %s ", parameters.at(i).name.ascii());
    164       printInfo(exec, "to", args[i]);
    165 #endif
    166147      variable->put(exec, parameters[i], args[i], DontDelete);
    167148    }
Note: See TracChangeset for help on using the changeset viewer.