There wouldn't be much point to an if statement if things inside its block got executed whether it was true or not. This isn't a case of "probably not" or it depends on optimizations, it definitely doesn't. It would probably easier to verify what your code is doing with the debugger than to try to figure out the assembly.