If Statement Constant Folding