aboutsummaryrefslogtreecommitdiffstats
path: root/scheduling/RTLtoBTL.v
diff options
context:
space:
mode:
authorSylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr>2021-05-28 14:28:56 +0200
committerSylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr>2021-05-28 14:28:56 +0200
commit25595a7b34b70011dcb77aae277ee1cdb8920c60 (patch)
tree6b8269b22eca57b51986593f8646f652d8598e09 /scheduling/RTLtoBTL.v
parent8752cea89f862d92d49183fe10d1918588143ab1 (diff)
downloadcompcert-kvx-25595a7b34b70011dcb77aae277ee1cdb8920c60.tar.gz
compcert-kvx-25595a7b34b70011dcb77aae277ee1cdb8920c60.zip
splitting BTL by introducing BTLmatchRTL
reduce also copy-paste between BTLtoRTLproof and RTLtoBTLproof sharing is done in BTLmatchRTL
Diffstat (limited to 'scheduling/RTLtoBTL.v')
-rw-r--r--scheduling/RTLtoBTL.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/scheduling/RTLtoBTL.v b/scheduling/RTLtoBTL.v
index 2ac02597..507fc9d9 100644
--- a/scheduling/RTLtoBTL.v
+++ b/scheduling/RTLtoBTL.v
@@ -1,6 +1,7 @@
Require Import Coqlib Maps.
Require Import AST Integers Values Events Memory Globalenvs Smallstep.
Require Import RTL Op Registers OptionMonad BTL.
+Require Export BTLmatchRTL.
Require Import Errors Linking.
@@ -15,7 +16,7 @@ Definition transf_function (f: RTL.function) : res BTL.function :=
let (tcte, dupmap) := rtl2btl f in
let (tc, te) := tcte in
let f' := BTL.mkfunction (RTL.fn_sig f) (RTL.fn_params f) (RTL.fn_stacksize f) tc te in
- (*do u <- verify_function dupmap f' f;*)
+ do u <- verify_function dupmap f' f;
OK f'.
Definition transf_fundef (f: RTL.fundef) : res fundef :=