Commit 0ba0acc1 authored by sullivan's avatar sullivan
Browse files

* kjs/function.cpp:

        (KJS::FunctionImp::getParameterName):
        removed assertion that displeased gcc 4.0.1 (build 5420):
        ASSERT(static_cast<size_t>(index) == index);



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1ef28f38
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.
......
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment