Bug in register swap.