Changeset 107128 in webkit
- Timestamp:
- Feb 8, 2012 1:35:34 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r107126 r107128 1 2012-02-08 Oliver Hunt <oliver@apple.com> 2 3 Fix issue encountered while debugging stacktraces 4 https://bugs.webkit.org/show_bug.cgi?id=78147 5 6 Reviewed by Gavin Barraclough. 7 8 Debugging is easier if we always ensure that we have a non-null 9 inferred name. 10 11 * runtime/Executable.cpp: 12 (JSC::FunctionExecutable::FunctionExecutable): 13 1 14 2012-02-08 Oliver Hunt <oliver@apple.com> 2 15 -
trunk/Source/JavaScriptCore/runtime/Executable.cpp
r106504 r107128 138 138 , m_parameters(parameters) 139 139 , m_name(name) 140 , m_inferredName(inferredName )140 , m_inferredName(inferredName.isNull() ? exec->globalData().propertyNames->emptyIdentifier : inferredName) 141 141 , m_symbolTable(0) 142 142 { … … 149 149 , m_parameters(parameters) 150 150 , m_name(name) 151 , m_inferredName(inferredName )151 , m_inferredName(inferredName.isNull() ? exec->globalData().propertyNames->emptyIdentifier : inferredName) 152 152 , m_symbolTable(0) 153 153 { -
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r106783 r107128 371 371 if (InternalFunction* function = jsDynamicCast<InternalFunction*>(object)) 372 372 return function->calculatedDisplayName(callFrame); 373 return UString();373 return callFrame->globalData().propertyNames->emptyIdentifier.ustring(); 374 374 } 375 375
Note: See TracChangeset
for help on using the changeset viewer.