Chaitin's graph coloring algorithm for compiler register allocation