- Fixed set_global to work with reg alloc