The truffle compiler currently _always_ bails out of compilation for `VmUtils.getFrame()` calls, because it determines that some branch of this code can possibly return a materialized frame. This adjusts the code so that the hot path (levelsUp == 0) does not touch `VmUtils.getFrame()`, and avoids unnecessarily materializing the frame.