8027933: Add --const-as-var option

Reviewed-by: jlaskey, hannesw
12 files changed