Merge "Clear shadow registers only after potentially switching interpreters."