@@ -25,7 +25,7 @@ trait ViperBackend extends CliEnumConverter.EnumCase {
2525 var options : Vector [String ] = Vector .empty
2626
2727 options ++= exePaths
28- if (config.assumeInjectivityOnInhaleOrDefault ) {
28+ if (config.assumeInjectivityOnInhale ) {
2929 options ++= Vector (" --assumeInjectivityOnInhale" )
3030 }
3131 if (config.respectFunctionPrePermAmounts) {
@@ -48,16 +48,16 @@ trait SiliconBasedBackend extends ViperBackend {
4848 var options : Vector [String ] = super .buildOptions(exePaths, config)
4949 options ++= Vector (" --logLevel" , " ERROR" )
5050 options ++= Vector (" --disableCatchingExceptions" )
51- if (config.conditionalizePermissionsOrDefault ) {
51+ if (config.conditionalizePermissions ) {
5252 options ++= Vector (" --conditionalizePermissions" )
5353 }
54- if (config.z3APIModeOrDefault ) {
54+ if (config.z3APIMode ) {
5555 options ++= Vector (s " --prover= ${Z3ProverAPI .name}" )
5656 }
57- if (config.disableNLOrDefault ) {
57+ if (config.disableNL ) {
5858 options ++= Vector (s " --disableNL " )
5959 }
60- if (config.unsafeWildcardOptimizationOrDefault ) {
60+ if (config.unsafeWildcardOptimization ) {
6161 options ++= Vector (s " --unsafeWildcardOptimization " )
6262 }
6363 options ++= Vector (s " --moreJoins= ${config.moreJoins.viperValue}" )
@@ -70,10 +70,10 @@ trait SiliconBasedBackend extends ViperBackend {
7070 // Gobra seems to be much slower with the new silicon axiomatization of collections.
7171 // For now, we stick to the old one.
7272 options ++= Vector (" --useOldAxiomatization" )
73- if (config.parallelizeBranchesOrDefault ) {
73+ if (config.parallelizeBranches ) {
7474 options ++= Vector (" --parallelizeBranches" )
7575 }
76- if (config.disableSetAxiomatizationOrDefault ) {
76+ if (config.disableSetAxiomatization ) {
7777 // Since resources are stored within the .jar archive, we cannot
7878 // directly pass the axiom file to Silicon.
7979 val tmpPath = Paths .get(" gobra_tmp" )
0 commit comments