minor changes in reg alloc