summaryrefslogtreecommitdiff
path: root/Source/VCExpr/TypeErasure.cs
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2014-12-18 14:04:37 -0800
committerGravatar qadeer <unknown>2014-12-18 14:04:37 -0800
commit86cb1bc74ca8b0242131145ce9d4cbab085c02fd (patch)
tree2e714b1801e6057351a103217979bc1eea5da670 /Source/VCExpr/TypeErasure.cs
parent75b7f29830013051c14990d515d4948cdf917148 (diff)
more work on reducing call stack consumption
Diffstat (limited to 'Source/VCExpr/TypeErasure.cs')
-rw-r--r--Source/VCExpr/TypeErasure.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/VCExpr/TypeErasure.cs b/Source/VCExpr/TypeErasure.cs
index 628ebdf1..2326ba7a 100644
--- a/Source/VCExpr/TypeErasure.cs
+++ b/Source/VCExpr/TypeErasure.cs
@@ -1087,6 +1087,12 @@ namespace Microsoft.Boogie.TypeErasure {
////////////////////////////////////////////////////////////////////////////
+ public override bool AvoidVisit(VCExprNAry node, VariableBindings arg)
+ {
+ return node.Op.Equals(VCExpressionGenerator.AndOp) ||
+ node.Op.Equals(VCExpressionGenerator.OrOp);
+ }
+
public override VCExpr Visit(VCExprNAry node, VariableBindings bindings) {
Contract.Requires(bindings != null);
Contract.Requires(node != null);