Title: [115674] trunk/Source/_javascript_Core
Revision
115674
Author
[email protected]
Date
2012-04-30 14:52:30 -0700 (Mon, 30 Apr 2012)

Log Message

Remove an erroneous assertion after r115655.

* runtime/NumberPrototype.cpp:
(JSC::toUStringWithRadix):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (115673 => 115674)


--- trunk/Source/_javascript_Core/ChangeLog	2012-04-30 21:48:07 UTC (rev 115673)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-04-30 21:52:30 UTC (rev 115674)
@@ -1,3 +1,10 @@
+2012-04-30  Ryosuke Niwa  <[email protected]>
+
+        Remove an erroneous assertion after r115655.
+
+        * runtime/NumberPrototype.cpp:
+        (JSC::toUStringWithRadix):
+
 2012-04-30  Myles Maxfield  <[email protected]>
 
         End of Interpreter::tryCacheGetByID can trigger the garbage collector

Modified: trunk/Source/_javascript_Core/runtime/NumberPrototype.cpp (115673 => 115674)


--- trunk/Source/_javascript_Core/runtime/NumberPrototype.cpp	2012-04-30 21:48:07 UTC (rev 115673)
+++ trunk/Source/_javascript_Core/runtime/NumberPrototype.cpp	2012-04-30 21:52:30 UTC (rev 115674)
@@ -354,7 +354,6 @@
 
     while (positiveNumber) {
         uint32_t index = positiveNumber % radix;
-        ASSERT(index >= 0);
         ASSERT(index < sizeof(radixDigits));
         *--p = static_cast<LChar>(radixDigits[index]);
         positiveNumber /= radix;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to