[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
xan at webkit.org
xan at webkit.org
Wed Dec 22 12:37:50 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit a486bd3710d22e2cb681e0764f6713e30c1f7891
Author: xan at webkit.org <xan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Aug 26 08:54:34 2010 +0000
2010-08-25 Xan Lopez <xlopez at igalia.com>
Reviewed by Kent Tamura.
Local variables 'k' and 'y' in s2b() in dtoa.cpp are computed but not used
https://bugs.webkit.org/show_bug.cgi?id=29259
Remove unused code in dtoa.cpp, spotted by Wan-Teh Chang.
* wtf/dtoa.cpp:
(WTF::s2b):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index fd23733..da10895 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-08-25 Xan Lopez <xlopez at igalia.com>
+
+ Reviewed by Kent Tamura.
+
+ Local variables 'k' and 'y' in s2b() in dtoa.cpp are computed but not used
+ https://bugs.webkit.org/show_bug.cgi?id=29259
+
+ Remove unused code in dtoa.cpp, spotted by Wan-Teh Chang.
+
+ * wtf/dtoa.cpp:
+ (WTF::s2b):
+
2010-08-25 Kwang Yul Seo <skyul at company100.net>
Reviewed by Kevin Ollivier.
diff --git a/JavaScriptCore/wtf/dtoa.cpp b/JavaScriptCore/wtf/dtoa.cpp
index 88e5692..fdb07b7 100644
--- a/JavaScriptCore/wtf/dtoa.cpp
+++ b/JavaScriptCore/wtf/dtoa.cpp
@@ -271,8 +271,6 @@ static ALWAYS_INLINE uint32_t* storeInc(uint32_t* p, uint16_t high, uint16_t low
#endif
#endif
-#define Kmax 15
-
struct BigInt {
BigInt() : sign(0) { }
int sign;
@@ -349,11 +347,6 @@ static void multadd(BigInt& b, int m, int a) /* multiply by m and add a */
static void s2b(BigInt& b, const char* s, int nd0, int nd, uint32_t y9)
{
- int k;
- int32_t y;
- int32_t x = (nd + 8) / 9;
-
- for (k = 0, y = 1; x > y; y <<= 1, k++) { }
#ifdef Pack_32
b.sign = 0;
b.resize(1);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list