aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Injectproof.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-03-31 19:06:42 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-03-31 19:06:42 +0200
commit7893d5ece9a06d2ec09eb0a9c1e5207a15668723 (patch)
tree872b4911554c5620f281cea406b1d71c99f28c55 /backend/Injectproof.v
parent3d87236deffbcbfd8d56a9080482071602f9ea01 (diff)
downloadcompcert-kvx-7893d5ece9a06d2ec09eb0a9c1e5207a15668723.tar.gz
compcert-kvx-7893d5ece9a06d2ec09eb0a9c1e5207a15668723.zip
no more admitted
Diffstat (limited to 'backend/Injectproof.v')
-rw-r--r--backend/Injectproof.v8
1 files changed, 5 insertions, 3 deletions
diff --git a/backend/Injectproof.v b/backend/Injectproof.v
index 7ba4b9f7..b63f9498 100644
--- a/backend/Injectproof.v
+++ b/backend/Injectproof.v
@@ -1612,9 +1612,11 @@ Section INJECTOR.
eapply max_pc_function_sound; eauto.
** apply eval_builtin_args_preserved with (ge1 := ge); eauto.
exact symbols_preserved.
- admit.
+ apply transf_function_preserves_builtin_args with (f:=f) (tf:=tf) (pc:=pc) (rs:=rs) (ef:=ef) (res0:=res) (pc':=pc'); auto.
** eapply external_call_symbols_preserved; eauto. apply senv_preserved.
- * admit.
+ * constructor; auto.
+ apply match_regs_setres.
+ assumption.
- (* cond *)
destruct ((gen_injections f) ! pc) eqn:INJECTION.
@@ -1748,7 +1750,7 @@ Section INJECTOR.
+ constructor; trivial.
apply match_regs_write.
assumption.
- Admitted.
+ Qed.
Theorem transf_program_correct:
Smallstep.forward_simulation (semantics prog) (semantics tprog).