Merge "Split interpreter_switch_impl into smaller functions."