Add a reg whose next is a reg to the needShadow list.
Merge pull request #329 from ucb-bar/partition315

Add a reg whose next is a reg to the needShadow list.