diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2016-03-06 10:31:26 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2016-03-06 10:31:26 +0100 |
commit | e4723d142aa7b1229cdf5989340342d7c5ce870c (patch) | |
tree | 988bdd3027231544239cdac13313c587e9ec83b9 /backend/Constprop.v | |
parent | a803f6926dc6d817447b3926cc409913e5d86cc0 (diff) | |
download | compcert-kvx-e4723d142aa7b1229cdf5989340342d7c5ce870c.tar.gz compcert-kvx-e4723d142aa7b1229cdf5989340342d7c5ce870c.zip |
Update the back-end proofs to the new linking framework.
Diffstat (limited to 'backend/Constprop.v')
-rw-r--r-- | backend/Constprop.v | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/backend/Constprop.v b/backend/Constprop.v index 5ca69183..4de80b7a 100644 --- a/backend/Constprop.v +++ b/backend/Constprop.v @@ -14,21 +14,11 @@ performed at RTL level. It proceeds by a standard dataflow analysis and the corresponding code rewriting. *) -Require Import Coqlib. -Require Import Maps. -Require Import AST. -Require Import Integers. -Require Import Floats. -Require Import Op. -Require Machregs. -Require Import Registers. -Require Import RTL. -Require Import Lattice. -Require Import Kildall. -Require Import Liveness. -Require Import ValueDomain. -Require Import ValueAOp. -Require Import ValueAnalysis. +Require Import Coqlib Maps Integers Floats Lattice Kildall. +Require Import AST Linking. +Require Compopts Machregs. +Require Import Op Registers RTL. +Require Import Liveness ValueDomain ValueAOp ValueAnalysis. Require Import ConstpropOp. (** The code transformation builds on the results of the static analysis @@ -231,5 +221,5 @@ Definition transf_fundef (rm: romem) (fd: fundef) : fundef := AST.transf_fundef (transf_function rm) fd. Definition transf_program (p: program) : program := - let rm := romem_for_program p in + let rm := romem_for p in transform_program (transf_fundef rm) p. |