⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 91351 in webkit


Ignore:
Timestamp:
Jul 20, 2011, 2:43:21 AM (15 years ago)
Author:
mrowe@apple.com
Message:

Fix the 32-bit build.

  • runtime/ObjectPrototype.cpp:

(JSC::objectProtoFuncToString):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r91344 r91351  
     12011-07-20  Mark Rowe  <mrowe@apple.com>
     2
     3        Fix the 32-bit build.
     4
     5        * runtime/ObjectPrototype.cpp:
     6        (JSC::objectProtoFuncToString):
     7
    182011-07-19  Gavin Barraclough  <barraclough@apple.com>
    29
  • trunk/Source/JavaScriptCore/runtime/ObjectPrototype.cpp

    r91344 r91351  
    196196    JSValue thisValue = exec->hostThisValue();
    197197    if (thisValue.isUndefinedOrNull())
    198         return jsNontrivialString(exec, thisValue.isUndefined() ? "[object Undefined]" : "[object Null]");
     198        return JSValue::encode(jsNontrivialString(exec, thisValue.isUndefined() ? "[object Undefined]" : "[object Null]"));
    199199    return JSValue::encode(jsMakeNontrivialString(exec, "[object ", thisValue.toObject(exec)->className(), "]"));
    200200}
Note: See TracChangeset for help on using the changeset viewer.