summaryrefslogtreecommitdiff
path: root/Source/Dafny/DafnyAst.cs
diff options
context:
space:
mode:
authorGravatar leino <unknown>2015-09-21 21:25:55 -0700
committerGravatar leino <unknown>2015-09-21 21:25:55 -0700
commitbd3dedcc023edb51d2a03619061bb03463821534 (patch)
tree75cee788fc8b4730ff7eb06afdd4836121dc282d /Source/Dafny/DafnyAst.cs
parent7134a276e9fb53a4c11e1ce9383b6676a7d50bc8 (diff)
Removed unused code (old code from previous ghost-statement handling)
Diffstat (limited to 'Source/Dafny/DafnyAst.cs')
-rw-r--r--Source/Dafny/DafnyAst.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/Dafny/DafnyAst.cs b/Source/Dafny/DafnyAst.cs
index 83db732e..2a98d5c2 100644
--- a/Source/Dafny/DafnyAst.cs
+++ b/Source/Dafny/DafnyAst.cs
@@ -3461,23 +3461,7 @@ namespace Microsoft.Dafny {
Contract.Invariant(EndTok != null);
}
-#if OLD_GHOST_HANDLING
public bool IsGhost; // filled in by resolution
-#else
- public static bool ReadyToDealWithGhostField = true;
- private bool izzaGhost;
- public bool IsGhost {
- get {
- Contract.Requires(ReadyToDealWithGhostField);
- return izzaGhost;
- }
- set {
- Contract.Requires(ReadyToDealWithGhostField);
- izzaGhost = value;
- }
- }
- public bool C_IsGhost; // new ghost computation
-#endif
public Statement(IToken tok, IToken endTok, Attributes attrs) {
Contract.Requires(tok != null);