Code buffer moved to CodeGenerator class