working on refactoring register allocator to use new ir