modify CodeGerator and compiler.cpp