codegen: delete the "offset" argument in gen_frame_get, because it is