Esempio n. 1
0
 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)
Esempio n. 2
0
 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))