From 54d0ce9246ed1be12f150eb3745626a7576bf20b Mon Sep 17 00:00:00 2001 From: Léo Gourdin Date: Mon, 10 May 2021 10:28:55 +0200 Subject: is_exp and bcond proof --- scheduling/RTLtoBTL.v | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scheduling/RTLtoBTL.v') diff --git a/scheduling/RTLtoBTL.v b/scheduling/RTLtoBTL.v index 2b2bd15c..3617e691 100644 --- a/scheduling/RTLtoBTL.v +++ b/scheduling/RTLtoBTL.v @@ -12,10 +12,7 @@ Local Open Scope error_monad_scope. Definition transf_function (f: RTL.function) : res BTL.function := let (tcte, dupmap) := rtl2btl f in let (tc, te) := tcte in - (* TODO, pour finir la preuve: remplacer ci-dessous "right_assoc_code" par "expand_code" - on s'arrangera pour éliminer cette transformation "coûteuse" à la fin ! - *) - let f' := BTL.mkfunction (RTL.fn_sig f) (RTL.fn_params f) (RTL.fn_stacksize f) (right_assoc_code tc) te in + let f' := BTL.mkfunction (RTL.fn_sig f) (RTL.fn_params f) (RTL.fn_stacksize f) (expand_code tc) te in do u <- verify_function dupmap f' f; OK f'. -- cgit