Ignore:
Timestamp:
May 21, 2010, 4:49:48 PM (15 years ago)
Author:
[email protected]
Message:

Unreviewed build fix.

Patch by David Levin <[email protected]> on 2010-05-21

  • wtf/SizeLimits.cpp: Removed a check while I figure out how to write it properly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSFunction.cpp

    r59941 r59974  
    121121const UString& JSFunction::name(ExecState* exec)
    122122{
    123     return asString(getDirect(exec->globalData().propertyNames->name))->value(exec);
     123    return asString(getDirect(exec->globalData().propertyNames->name))->tryGetValue();
    124124}
    125125
     
    129129   
    130130    if (displayName && isJSString(&exec->globalData(), displayName))
    131         return asString(displayName)->value(exec);
     131        return asString(displayName)->tryGetValue();
    132132   
    133133    return UString::null();
Note: See TracChangeset for help on using the changeset viewer.