aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2017-08-15 11:54:51 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2017-08-15 11:54:51 +0200
commitab6d5e98b4d967cc7834ad457b36bbf4c141f2ee (patch)
tree8797015ad9d75bbaf6fadcdd0c418d29020120ab /lib
parent0aa08f5d521401644b5c839239de97f587e0a217 (diff)
downloadcompcert-ab6d5e98b4d967cc7834ad457b36bbf4c141f2ee.tar.gz
compcert-ab6d5e98b4d967cc7834ad457b36bbf4c141f2ee.zip
Issue #196: excessive proof-checking times in .v files generated by clightgen
The check that "build_composite_env composites = OK (make_composite_env composites)" is taking time exponential on the number of struct/union definitions, at least on the example provided in #196. The solution implemented in this commit is to use computational reflection more efficiently, just to check that "build_composite_env composites" is of the form "OK _". From there, a new function Clightdefs.mkprogram produces the appropriate Clight.program without additional computation.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions