Switch-related cleanup
Summary: - Use an enum instead of an IVA for the Bounded bytecode immediate.
- Move constant src optimizations for JmpSwitchDest from codegen to
simplifier.
- Do base subtraction with SubInt hhir instruction rather than in JmpSwitchDest
codegen, and remove base member from JmpSwitchData.
- Remove StkPtr phi stuff from getBlock(). We haven't merged StkPtrs in a long
time and aren't going to start again.
- Use getBlock() instead of makeExit() in emitSwitch() to prepare for the
destinations possibly being in the current region.
Codegen should be unaffected by all of this, since we still break regions at
Switch.
Reviewed By: @jdelong
Differential Revision:
D2104092