Changeset 2766 in webkit for trunk/JavaScriptCore/kjs/function_object.cpp
- Timestamp:
- Nov 19, 2002, 3:45:44 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function_object.cpp
r2760 r2766 95 95 DeclaredFunctionImp *fi = static_cast<DeclaredFunctionImp*> 96 96 (thisObj.imp()); 97 return String("function " + fi->name() + "(" +97 return String("function " + fi->name().ustring() + "(" + 98 98 fi->parameterString() + ") " + fi->body->toString()); 99 99 } else if (thisObj.inherits(&FunctionImp::info) && 100 100 !static_cast<FunctionImp*>(thisObj.imp())->name().isNull()) { 101 result = String("function " + static_cast<FunctionImp*>(thisObj.imp())->name() + "()");101 result = String("function " + static_cast<FunctionImp*>(thisObj.imp())->name().ustring() + "()"); 102 102 } 103 103 else {
Note:
See TracChangeset
for help on using the changeset viewer.