remove unreachable codes

the variable `isInterpolation` is always true because of c5bb0ac700daa32
Merge pull request #243 from xuwei-k/refactoring-CodeGenerator

remove unreachable codes