示例#1
0
文件: compile.py 项目: sota/pypy-old
 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)
示例#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))