(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
+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.
*/
Identifier FunctionImp::getParameterName(int index)
{
- ASSERT(static_cast<size_t>(index) == index);
if (static_cast<size_t>(index) > parameters.size())
return Identifier::null();