Changeset 91351 in webkit
- Timestamp:
- Jul 20, 2011, 2:43:21 AM (15 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
runtime/ObjectPrototype.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r91344 r91351 1 2011-07-20 Mark Rowe <mrowe@apple.com> 2 3 Fix the 32-bit build. 4 5 * runtime/ObjectPrototype.cpp: 6 (JSC::objectProtoFuncToString): 7 1 8 2011-07-19 Gavin Barraclough <barraclough@apple.com> 2 9 -
trunk/Source/JavaScriptCore/runtime/ObjectPrototype.cpp
r91344 r91351 196 196 JSValue thisValue = exec->hostThisValue(); 197 197 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]")); 199 199 return JSValue::encode(jsMakeNontrivialString(exec, "[object ", thisValue.toObject(exec)->className(), "]")); 200 200 }
Note:
See TracChangeset
for help on using the changeset viewer.