diff options
author | Unknown <qadeer@FAIZ-AHMED-FAIZ.redmond.corp.microsoft.com> | 2013-01-29 23:27:01 -0800 |
---|---|---|
committer | Unknown <qadeer@FAIZ-AHMED-FAIZ.redmond.corp.microsoft.com> | 2013-01-29 23:27:01 -0800 |
commit | 9cbc24822ba32e38b2bfd567f346ecc96d92994c (patch) | |
tree | 11a732fe0613afd4a752913da8fe117923b9a093 /Source/BoogieDriver/BoogieDriver.cs | |
parent | ac93e2ce2acee19e3ce8bffe8beb6a4594fc9a4b (diff) |
made a whole bunch of changes to linear and og stuff
Diffstat (limited to 'Source/BoogieDriver/BoogieDriver.cs')
-rw-r--r-- | Source/BoogieDriver/BoogieDriver.cs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Source/BoogieDriver/BoogieDriver.cs b/Source/BoogieDriver/BoogieDriver.cs index 2d1836c6..69fb547c 100644 --- a/Source/BoogieDriver/BoogieDriver.cs +++ b/Source/BoogieDriver/BoogieDriver.cs @@ -186,12 +186,18 @@ namespace Microsoft.Boogie { }
}
- OwickiGriesTransform ogTransform = new OwickiGriesTransform(program);
- ogTransform.Transform();
+ if (CommandLineOptions.Clo.OwickiGriesDesugaredOutputFile != null)
+ {
+ OwickiGriesTransform ogTransform = new OwickiGriesTransform(program);
+ ogTransform.Transform();
+ int oldPrintUnstructured = CommandLineOptions.Clo.PrintUnstructured;
+ CommandLineOptions.Clo.PrintUnstructured = 1;
+ PrintBplFile(CommandLineOptions.Clo.OwickiGriesDesugaredOutputFile, program, false);
+ CommandLineOptions.Clo.PrintUnstructured = oldPrintUnstructured;
+ }
LinearSetTransform linearTransform = new LinearSetTransform(program);
linearTransform.Transform();
- PrintBplFile("OwickiGriesDesugared.bpl", program, false);
-
+
EliminateDeadVariablesAndInline(program);
int errorCount, verified, inconclusives, timeOuts, outOfMemories;
|