Refactor code generation for built-in void operators