From bf592c4e944e9cca8a2bb60f52b5b39388c4ed4c Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sat, 23 Mar 2019 00:12:05 +0100 Subject: more destructor based changes (#10885) * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures --- doc/advopt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/advopt.txt b/doc/advopt.txt index 46b9a12a6..3b5827aed 100644 --- a/doc/advopt.txt +++ b/doc/advopt.txt @@ -78,7 +78,7 @@ Advanced options: --tlsEmulation:on|off turn thread local storage emulation on|off --taintMode:on|off turn taint mode on|off --implicitStatic:on|off turn implicit compile time evaluation on|off - --patterns:on|off turn term rewriting macros on|off + --trmacros:on|off turn term rewriting macros on|off --multimethods:on|off turn multi-methods on|off --memTracker:on|off turn memory tracker on|off --hotCodeReloading:on|off -- cgit 1.4.1-2-gfad0