These assertions can’t be uniquely identified if they are repeated in the same 
function

ASSERT(false);
ASSERT_NOT_REACHED();

And more importantly the same function can have the same assertion repeated in 
multiple places 

void function()
{
        int result = 0;

        result += someFunction();
        ASSERT(result > 0);
        result += anotherFunction();
        ASSERT(result > 0);
}

I am not saying we have a problem that we have to fix.  I am just saying if we 
need to uniquely identify the bugs related to a specific assertion easily or we 
need to automate the linkage between the assertions and Bugzailla, we need tags 
for the assertions.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to