diff options
author | MichalMoskal <unknown> | 2011-02-23 00:49:29 +0000 |
---|---|---|
committer | MichalMoskal <unknown> | 2011-02-23 00:49:29 +0000 |
commit | 39c5f29809ea2e531300d29cbee6becf752da965 (patch) | |
tree | f7ce51e82a99fafc7d361ed2350975488303f09b /Source/Provers/SMTLib/SMTLibLineariser.cs | |
parent | a725d481d41980c800fbe8e1643812d09a77cde0 (diff) |
Fixes in /useArrayTheory handling
Diffstat (limited to 'Source/Provers/SMTLib/SMTLibLineariser.cs')
-rw-r--r-- | Source/Provers/SMTLib/SMTLibLineariser.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Provers/SMTLib/SMTLibLineariser.cs b/Source/Provers/SMTLib/SMTLibLineariser.cs index 4cec5ad4..563dec8f 100644 --- a/Source/Provers/SMTLib/SMTLibLineariser.cs +++ b/Source/Provers/SMTLib/SMTLibLineariser.cs @@ -512,9 +512,11 @@ namespace Microsoft.Boogie.SMTLib }
public bool VisitSelectOp(VCExprNAry node, LineariserOptions options)
- {
+ {
var name = SimplifyLikeExprLineariser.SelectOpName(node);
name = ExprLineariser.Namer.GetQuotedName(name, name);
+ if (CommandLineOptions.Clo.UseArrayTheory)
+ name = "select";
WriteApplication(name, node, options);
return true;
}
@@ -523,6 +525,8 @@ namespace Microsoft.Boogie.SMTLib {
var name = SimplifyLikeExprLineariser.StoreOpName(node);
name = ExprLineariser.Namer.GetQuotedName(name, name);
+ if (CommandLineOptions.Clo.UseArrayTheory)
+ name = "store";
WriteApplication(name, node, options);
return true;
}
|