Allocating registers for live intervals