diff options
Diffstat (limited to 'Source/VCGeneration/VCDoomed.cs')
-rw-r--r-- | Source/VCGeneration/VCDoomed.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/VCGeneration/VCDoomed.cs b/Source/VCGeneration/VCDoomed.cs index d97ee0fd..f833d6e9 100644 --- a/Source/VCGeneration/VCDoomed.cs +++ b/Source/VCGeneration/VCDoomed.cs @@ -327,8 +327,7 @@ namespace VC { if (UseItAsDebugger)
RemoveReachVars(cce.NonNull(firstDebugBlock));
- ModelViewInfo mvInfo;
- PassifyProgram(impl, out mvInfo);
+ PassifyProgram(impl, new ModelViewInfo(program, impl));
#endregion
//EmitImpl(impl,false);
@@ -1313,12 +1312,13 @@ namespace VC { }
- private Hashtable/*TransferCmd->ReturnCmd*/ PassifyProgram(Implementation impl, out ModelViewInfo mvInfo) {
+ private Hashtable/*TransferCmd->ReturnCmd*/ PassifyProgram(Implementation impl, ModelViewInfo mvInfo) {
Contract.Requires(impl != null);
+ Contract.Requires(mvInfo != null);
Contract.Ensures(Contract.Result<Hashtable>() != null);
CurrentLocalVariables = impl.LocVars;
- Convert2PassiveCmd(impl, out mvInfo);
+ Convert2PassiveCmd(impl, mvInfo);
return new Hashtable();
}
|