diff options
author | akashlal <unknown> | 2010-09-04 20:17:06 +0000 |
---|---|---|
committer | akashlal <unknown> | 2010-09-04 20:17:06 +0000 |
commit | 6541ac9ebb538c339f818e9d473e09c5207f23ae (patch) | |
tree | c035546ed19569efb184e18d9f333e80330be369 /Source/BoogieDriver/BoogieDriver.cs | |
parent | 918ea1673b222dc251a3588de463d164dd3e4f4d (diff) |
Fix for extractLoops
Diffstat (limited to 'Source/BoogieDriver/BoogieDriver.cs')
-rw-r--r-- | Source/BoogieDriver/BoogieDriver.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/BoogieDriver/BoogieDriver.cs b/Source/BoogieDriver/BoogieDriver.cs index a24347f2..3bf7b624 100644 --- a/Source/BoogieDriver/BoogieDriver.cs +++ b/Source/BoogieDriver/BoogieDriver.cs @@ -529,9 +529,10 @@ namespace Microsoft.Boogie { program.UnrollLoops(CommandLineOptions.Clo.LoopUnrollCount);
}
+ Dictionary<string, Dictionary<string, Block>> extractLoopMappingInfo = null;
if (CommandLineOptions.Clo.ExtractLoops)
{
- program.ExtractLoops();
+ extractLoopMappingInfo = program.ExtractLoops();
}
if (CommandLineOptions.Clo.PrintInstrumented) {
@@ -660,7 +661,7 @@ namespace Microsoft.Boogie { {
for (int i = 0; i < errors.Count; i++)
{
- errors[i] = (vcgen as VCGen).extractLoopTrace(errors[i], program);
+ errors[i] = (vcgen as VCGen).extractLoopTrace(errors[i], impl.Name, program, extractLoopMappingInfo);
}
}
|