Skip to content

Commit c91ff69

Browse files
committed
JBMC: adjust float expressions per function
1 parent eed983a commit c91ff69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jbmc/jbmc_parse_options.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,9 @@ void jbmc_parse_optionst::process_goto_function(
693693

694694
// add generic checks
695695
goto_check(ns, options, ID_java, function.get_goto_function());
696+
697+
// checks don't know about adjusted float expressions
698+
adjust_float_expressions(goto_function, ns);
696699
}
697700

698701
catch(const char *e)
@@ -730,9 +733,6 @@ bool jbmc_parse_optionst::process_goto_functions(
730733
// instrument library preconditions
731734
instrument_preconditions(goto_model);
732735

733-
// checks don't know about adjusted float expressions
734-
adjust_float_expressions(goto_model);
735-
736736
// ignore default/user-specified initialization
737737
// of variables with static lifetime
738738
if(cmdline.isset("nondet-static"))

0 commit comments

Comments
 (0)