def execute_token(loop_token, *args): assert len(args) == nb_args for index, TYPE in unroll_argtypes: x = args[index] assert TYPE == lltype.typeOf(x) if TYPE == lltype.Signed: llimpl.set_future_value_int(index, x) elif TYPE == llmemory.GCREF: llimpl.set_future_value_ref(index, x) elif TYPE == longlong.FLOATSTORAGE: llimpl.set_future_value_float(index, x) else: assert 0 # fail_index = self._execute_token(loop_token) return self.get_fail_descr_from_number(fail_index)
def set_future_value_float(self, index, floatvalue): llimpl.set_future_value_float(index, floatvalue)