summaryrefslogtreecommitdiff
path: root/Source/Core/AbsyExpr.ssc
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2010-04-17 19:14:43 +0000
committerGravatar qadeer <unknown>2010-04-17 19:14:43 +0000
commitd03242f9efa515d848f9166244bfaaa9fefd22b0 (patch)
tree67c010e1d67394aff7c66d652e4a17e7efddd99a /Source/Core/AbsyExpr.ssc
parent584e66329027e1ea3faff5253a0b5554d455df49 (diff)
First cut of lazy inlining. The option can be turned on by the flag /lazyInline:1. It is off by default. This option currently does not support loops and recursion and also does not allow assertions and specifications in inlined procedures. The usage is currently not documented.
Diffstat (limited to 'Source/Core/AbsyExpr.ssc')
-rw-r--r--Source/Core/AbsyExpr.ssc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/AbsyExpr.ssc b/Source/Core/AbsyExpr.ssc
index eaf4e640..ab834cb2 100644
--- a/Source/Core/AbsyExpr.ssc
+++ b/Source/Core/AbsyExpr.ssc
@@ -1394,6 +1394,7 @@ namespace Microsoft.Boogie
private IdentifierExpr! name;
public Function Func;
public FunctionCall(IdentifierExpr! name) { this.name = name; }
+ public FunctionCall(Function! f) { this.Func = f; this.name = new IdentifierExpr(Token.NoToken, f.Name); }
public string! FunctionName { get { return this.name.Name; } }
public AI.IFunctionSymbol! AIFunctionSymbol {