update irbuilder for method and block in codegen