summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index e4f7f6d98..02396f0bb 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -283,6 +283,9 @@ const
   sfNoForward* = sfRegister
     # forward declarations are not required (per module)
 
+  sfNoRoot* = sfBorrow # a local variable is provably no root so it doesn't
+                       # require RC ops
+
 const
   # getting ready for the future expr/stmt merge
   nkWhen* = nkWhenStmt