mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-16 14:25:56 +00:00
Estimated hours taken: 0.1 mc.in: Replace --num-real-temps "$NUM_REAL_TEMPS" with --num-real-r-temps "$NUM_REAL_R_TEMPS". Since NUM_REAL_TEMPS is not defined, the old code was buggy (why can't sh require declarations of variables? :-) We now also use the more correct form of the option name. Before this fix, value numbering incorrectly thought that no temporary variables were kept in registers, and as a result it frequently rejected improved code fragments improperly because, due to this bug, its cost model said they they were too expensive.