diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2014-12-31 17:14:28 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2014-12-31 17:14:28 +0100 |
commit | 67b13ecb9cfd2511c1db62a6cc38cf796cfb2a14 (patch) | |
tree | 3024076418ae753f69ddad48ad92959498886efe /extraction | |
parent | e89f1e606bc8c9c425628392adc9c69cec666b5e (diff) | |
download | compcert-kvx-67b13ecb9cfd2511c1db62a6cc38cf796cfb2a14.tar.gz compcert-kvx-67b13ecb9cfd2511c1db62a6cc38cf796cfb2a14.zip |
Add a type system for CompCert C and type-checking constructor functions.
Use these constructor functions in C2C to rely less on the types produced
by the unverified elaborator.
Diffstat (limited to 'extraction')
-rw-r--r-- | extraction/extraction.v | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extraction/extraction.v b/extraction/extraction.v index 0ba4abdd..45239aa5 100644 --- a/extraction/extraction.v +++ b/extraction/extraction.v @@ -24,6 +24,7 @@ Require Tailcall. Require Allocation. Require Ctypes. Require Csyntax. +Require Ctyping. Require Clight. Require Compiler. Require Parser. @@ -163,6 +164,8 @@ Separate Extraction Csyntax.make_program Clight.make_program Initializers.transl_init Initializers.constval Csyntax.Eindex Csyntax.Epreincr + Ctyping.retype_function Ctyping.econdition' + Ctyping.epostincr Ctyping.epostdecr Ctyping.epreincr Ctyping.epredecr Conventions1.dummy_int_reg Conventions1.dummy_float_reg RTL.instr_defs RTL.instr_uses Machregs.mregs_for_operation Machregs.mregs_for_builtin |