[webkit-dev] "statement is unreachable" warnings

Darin Adler darin at apple.com
Fri Jan 22 09:22:59 PST 2010

On Jan 22, 2010, at 7:08 AM, Yong Li wrote:

> So how about adding a macro "UNREACHABLE_RETURN(valueToReturn)"?

I like that idea.

I don’t think it’s only the RVCT compiler that has this issue. I seem to recall something similar with the Visual Studio compiler. Obviously in any compiler that knows the code is unreachable we’d like to not omit the code there.

    -- Darin

More information about the webkit-dev mailing list