changes to register allocator