Title: [91351] trunk/Source/_javascript_Core
Revision
91351
Author
[email protected]
Date
2011-07-20 02:43:21 -0700 (Wed, 20 Jul 2011)

Log Message

Fix the 32-bit build.

* runtime/ObjectPrototype.cpp:
(JSC::objectProtoFuncToString):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (91350 => 91351)


--- trunk/Source/_javascript_Core/ChangeLog	2011-07-20 09:40:15 UTC (rev 91350)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-07-20 09:43:21 UTC (rev 91351)
@@ -1,3 +1,10 @@
+2011-07-20  Mark Rowe  <[email protected]>
+
+        Fix the 32-bit build.
+
+        * runtime/ObjectPrototype.cpp:
+        (JSC::objectProtoFuncToString):
+
 2011-07-19  Gavin Barraclough  <[email protected]>
 
         https://bugs.webkit.org/show_bug.cgi?id=64678

Modified: trunk/Source/_javascript_Core/runtime/ObjectPrototype.cpp (91350 => 91351)


--- trunk/Source/_javascript_Core/runtime/ObjectPrototype.cpp	2011-07-20 09:40:15 UTC (rev 91350)
+++ trunk/Source/_javascript_Core/runtime/ObjectPrototype.cpp	2011-07-20 09:43:21 UTC (rev 91351)
@@ -195,7 +195,7 @@
 {
     JSValue thisValue = exec->hostThisValue();
     if (thisValue.isUndefinedOrNull())
-        return jsNontrivialString(exec, thisValue.isUndefined() ? "[object Undefined]" : "[object Null]");
+        return JSValue::encode(jsNontrivialString(exec, thisValue.isUndefined() ? "[object Undefined]" : "[object Null]"));
     return JSValue::encode(jsMakeNontrivialString(exec, "[object ", thisValue.toObject(exec)->className(), "]"));
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to