diff options
author | 2010-12-01 05:43:17 +0000 | |
---|---|---|
committer | 2010-12-01 05:43:17 +0000 | |
commit | 5db34109bbb72d290239dfdb571d321fe3f1c48c (patch) | |
tree | 50c5ba304226e584a8cbf7c03a7480a3d0a65def /Source/VCGeneration | |
parent | 95ff970b12779a1c0e814084100a0e88e6cc1c3d (diff) |
Eliminated dependencies on SpecSharp and CCI from Boogie.sln and Dafny.sln
Diffstat (limited to 'Source/VCGeneration')
-rw-r--r-- | Source/VCGeneration/StratifiedVC.cs | 12 | ||||
-rw-r--r-- | Source/VCGeneration/VCGeneration.csproj | 8 |
2 files changed, 6 insertions, 14 deletions
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<int>();
- var greenNodes = new Microsoft.SpecSharp.Collections.Set<int>();
- var redNodes = new Microsoft.SpecSharp.Collections.Set<int>();
+ var nodes = new HashSet<int>();
+ var greenNodes = new HashSet<int>();
+ var redNodes = new HashSet<int>();
var edges = new List<KeyValuePair<int, int>>();
foreach (var id in calls.currCandidates)
{
@@ -1365,7 +1365,7 @@ namespace VC // User info -- to decrease/increase calculcation of recursion bound
public Dictionary<int, int> recursionIncrement;
- public Microsoft.SpecSharp.Collections.Set<int> currCandidates;
+ public HashSet<int> currCandidates;
[ContractInvariantMethod]
void ObjectInvariant()
{
@@ -1398,7 +1398,7 @@ namespace VC id2ControlVar = new Dictionary<int, VCExprVar>();
boogieExpr2Id = new Dictionary<BoogieCallExpr, int>();
label2Id = new Dictionary<string, int>();
- currCandidates = new Microsoft.SpecSharp.Collections.Set<int>();
+ currCandidates = new HashSet<int>();
currInlineCount = 0;
currProc = null;
labelRenamer = new Dictionary<string, int>();
@@ -1410,7 +1410,7 @@ namespace VC public void Clear()
{
- currCandidates = new Microsoft.SpecSharp.Collections.Set<int>();
+ currCandidates = new HashSet<int>();
}
// 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 @@ <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Microsoft.SpecSharp.Runtime, Version=1.0.21125.0, Culture=neutral, PublicKeyToken=736440c9b414ea16, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\Binaries\Microsoft.SpecSharp.Runtime.dll</HintPath>
- </Reference>
<Reference Include="System" />
- <Reference Include="System.Compiler.Runtime, Version=1.0.21125.0, Culture=neutral, PublicKeyToken=736440c9b414ea16, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\Binaries\System.Compiler.Runtime.dll</HintPath>
- </Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
|