diff options
author | rustanleino <unknown> | 2009-11-19 18:51:13 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2009-11-19 18:51:13 +0000 |
commit | 8a3d35545386c74864db0662faa5c1d68cd71f01 (patch) | |
tree | f8a033f8b7cac985a5b7f25ee6e7ddee728e679d /Source | |
parent | eaf052fa512f87a16d16cbb6b4c78e7fbaaf85b8 (diff) |
Fixed bug in inlining (procedure *definitions* had been traversed by StandardVisitor while visiting commands).
This solves Issue #6266.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Core/StandardVisitor.ssc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/StandardVisitor.ssc b/Source/Core/StandardVisitor.ssc index 1e0ceb8f..192ed7a4 100644 --- a/Source/Core/StandardVisitor.ssc +++ b/Source/Core/StandardVisitor.ssc @@ -148,7 +148,6 @@ namespace Microsoft.Boogie for (int i = 0; i < node.Outs.Count; ++i)
if (node.Outs[i] != null)
node.Outs[i] = (IdentifierExpr)this.VisitIdentifierExpr((!)node.Outs[i]);
- node.Proc = this.VisitProcedure((!)node.Proc);
return node;
}
public virtual Cmd! VisitCallForallCmd(CallForallCmd! node)
@@ -349,7 +348,6 @@ namespace Microsoft.Boogie public virtual Expr! VisitNAryExpr(NAryExpr! node)
{
node.Args = this.VisitExprSeq(node.Args);
-// if (node.Type != null) { node.Type = this.VisitType(node.Type); } // BUGBUG? Do this even though it
return node;
}
public virtual Expr! VisitOldExpr(OldExpr! node)
|