Changeset 26690 in webkit for trunk/JavaScriptCore/kjs/function.cpp
- Timestamp:
- Oct 16, 2007, 4:35:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.cpp
r26689 r26690 107 107 comp = Completion(Throw, newExec.exception()); 108 108 109 #ifdef KJS_VERBOSE110 if (comp.complType() == Throw)111 printInfo(exec,"throwing", comp.value());112 else if (comp.complType() == ReturnValue)113 printInfo(exec,"returning", comp.value());114 else115 fprintf(stderr, "returning: undefined\n");116 #endif117 118 109 // The debugger may have been deallocated by now if the WebFrame 119 110 // we were running in has been destroyed, so refetch it. … … 152 143 JSObject* variable = exec->context()->variableObject(); 153 144 154 #ifdef KJS_VERBOSE155 fprintf(stderr, "---------------------------------------------------\n"156 "processing parameters for %s call\n",157 functionName().isEmpty() ? "(internal)" : functionName().ascii());158 #endif159 160 145 size_t size = parameters.size(); 161 146 for (size_t i = 0; i < size; ++i) { 162 #ifdef KJS_VERBOSE163 fprintf(stderr, "setting parameter %s ", parameters.at(i).name.ascii());164 printInfo(exec, "to", args[i]);165 #endif166 147 variable->put(exec, parameters[i], args[i], DontDelete); 167 148 }
Note:
See TracChangeset
for help on using the changeset viewer.