* kjs/function.cpp:
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Sep 2006 04:35:29 +0000 (04:35 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Sep 2006 04:35:29 +0000 (04:35 +0000)
        (KJS::FunctionImp::getParameterName):
        removed assertion that displeased gcc 4.0.1 (build 5420):
        ASSERT(static_cast<size_t>(index) == index);

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16608 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/function.cpp

index 2b8277431b5fc95fcac138c361fd350b333cba8e..77742cb407193af6745361dcbcf6bdf9bb5c357e 100644 (file)
@@ -1,3 +1,10 @@
+2006-09-27  John Sullivan  <sullivan@apple.com>
+
+        * kjs/function.cpp:
+        (KJS::FunctionImp::getParameterName):
+        removed assertion that displeased gcc 4.0.1 (build 5420):
+        ASSERT(static_cast<size_t>(index) == index);
+
 2006-09-27  Kevin McCullough  <KMcCullough@apple.com>
 
         Reviewed by GGaren.
index 4cab614a3f81ac76e75ae8280c2e4f47650a7489..e48891766a8d734abdb5293d307600aed2b0696f 100644 (file)
@@ -266,7 +266,6 @@ bool FunctionImp::deleteProperty(ExecState *exec, const Identifier &propertyName
  */
 Identifier FunctionImp::getParameterName(int index)
 {
-    ASSERT(static_cast<size_t>(index) == index);
     if (static_cast<size_t>(index) > parameters.size())
         return Identifier::null();