From 5db34109bbb72d290239dfdb571d321fe3f1c48c Mon Sep 17 00:00:00 2001 From: qadeer Date: Wed, 1 Dec 2010 05:43:17 +0000 Subject: Eliminated dependencies on SpecSharp and CCI from Boogie.sln and Dafny.sln --- Source/VCGeneration/StratifiedVC.cs | 12 ++++++------ Source/VCGeneration/VCGeneration.csproj | 8 -------- 2 files changed, 6 insertions(+), 14 deletions(-) (limited to 'Source/VCGeneration') diff --git a/Source/VCGeneration/StratifiedVC.cs b/Source/VCGeneration/StratifiedVC.cs index 7002ad61..d465a483 100644 --- a/Source/VCGeneration/StratifiedVC.cs +++ b/Source/VCGeneration/StratifiedVC.cs @@ -362,9 +362,9 @@ namespace VC coverageProcess.StandardInput.WriteLine("batch-graph-command-begin"); coverageProcess.StandardInput.WriteLine("reset-color"); // Go through the curr candidates and draw edges - var nodes = new Microsoft.SpecSharp.Collections.Set(); - var greenNodes = new Microsoft.SpecSharp.Collections.Set(); - var redNodes = new Microsoft.SpecSharp.Collections.Set(); + var nodes = new HashSet(); + var greenNodes = new HashSet(); + var redNodes = new HashSet(); var edges = new List>(); foreach (var id in calls.currCandidates) { @@ -1365,7 +1365,7 @@ namespace VC // User info -- to decrease/increase calculcation of recursion bound public Dictionary recursionIncrement; - public Microsoft.SpecSharp.Collections.Set currCandidates; + public HashSet currCandidates; [ContractInvariantMethod] void ObjectInvariant() { @@ -1398,7 +1398,7 @@ namespace VC id2ControlVar = new Dictionary(); boogieExpr2Id = new Dictionary(); label2Id = new Dictionary(); - currCandidates = new Microsoft.SpecSharp.Collections.Set(); + currCandidates = new HashSet(); currInlineCount = 0; currProc = null; labelRenamer = new Dictionary(); @@ -1410,7 +1410,7 @@ namespace VC public void Clear() { - currCandidates = new Microsoft.SpecSharp.Collections.Set(); + currCandidates = new HashSet(); } // Given a candidate "id", let proc(id) be the diff --git a/Source/VCGeneration/VCGeneration.csproj b/Source/VCGeneration/VCGeneration.csproj index b2d514f6..9906070a 100644 --- a/Source/VCGeneration/VCGeneration.csproj +++ b/Source/VCGeneration/VCGeneration.csproj @@ -99,15 +99,7 @@ true - - False - ..\..\Binaries\Microsoft.SpecSharp.Runtime.dll - - - False - ..\..\Binaries\System.Compiler.Runtime.dll - -- cgit v1.2.3