Changeset 34054 in webkit for trunk/JavaScriptCore
- Timestamp:
- May 22, 2008, 11:09:33 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r34051 r34054 1 2008-05-22 Adam Roben <[email protected]> 2 3 Show "(Function object)" instead of "(JSInpectorCallbackWrapper 4 object)" in profiles 5 6 Reviewed by Kevin McCullough. 7 8 * profiler/Profiler.cpp: 9 (KJS::createCallIdentifier): Use JSObject::className instead of 10 getting the class name from the ClassInfo directly. JSObject 11 subclasses can override className to provide a custom class name, and 12 it seems like we should honor that. 13 1 14 2008-05-22 Timothy Hatcher <[email protected]> 2 15 -
trunk/JavaScriptCore/profiler/Profiler.cpp
r34047 r34054 161 161 return CallIdentifier(static_cast<InternalFunctionImp*>(calledFunction)->functionName().ustring(), "", 0); 162 162 163 UString name = "("; 164 name += calledFunction->classInfo()->className; 165 name += " object)"; 163 UString name = "(" + calledFunction->className() + " object)"; 166 164 return CallIdentifier(name, 0, 0); 167 165 }
Note:
See TracChangeset
for help on using the changeset viewer.