Skip to content
Snippets Groups Projects
Commit b65bf6b5 authored by David Bühler's avatar David Bühler
Browse files

[kernel] Do not mark a specification as generated if the generation fails.

Fixes a crash when re-running an analysis.
parent 94ed1c5e
No related branches found
No related tags found
No related merge requests found
......@@ -270,8 +270,8 @@ let populate_funspec kf spec =
if Is_populated.mem kf then
false (* No need to add the spec again *)
else (
Is_populated.add kf ();
populate_funspec_aux kf spec;
Is_populated.add kf ();
true
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment