def handle_fail(self, deadframe, metainterp_sd, jitdriver_sd): assert jitdriver_sd.result_type == history.FLOAT result = metainterp_sd.cpu.get_float_value(deadframe, 0) raise jitexc.DoneWithThisFrameFloat(result)
def handle_fail(self, deadframe, metainterp_sd, jitdriver_sd): assert jitdriver_sd.result_type == history.FLOAT cpu = metainterp_sd.cpu raise jitexc.DoneWithThisFrameFloat(self.get_result(cpu, deadframe))