Generate code for operator +.
Fix crash bug when throw CodeGenerateException in REGISTER_GENERATE_GUARD() scope, and report more detail code generate error.