summary refs log tree commit diff stats
path: root/doc/manual.rst
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2018-04-23 17:02:38 +0800
committerAndreas Rumpf <rumpf_a@web.de>2018-04-23 11:02:38 +0200
commit72dfe176f5211f561263984a2df653f16dcf5466 (patch)
treefdfe465ee360ce63925753737a70973e3309dc7a /doc/manual.rst
parenta8b70c550083e432f0028e6582c97d8310a48c8a (diff)
downloadNim-72dfe176f5211f561263984a2df653f16dcf5466.tar.gz
remove dead code elimination option (#7669)
Diffstat (limited to 'doc/manual.rst')
-rw-r--r--doc/manual.rst16
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index fbd043020..f1330d524 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -6768,22 +6768,6 @@ the created global variables within a module is not defined, but all of them
 will be initialized after any top-level variables in their originating module
 and before any variable in a module that imports it.
 
-deadCodeElim pragma
--------------------
-The ``deadCodeElim`` pragma only applies to whole modules: It tells the
-compiler to activate (or deactivate) dead code elimination for the module the
-pragma appears in.
-
-The ``--deadCodeElim:on`` command line switch has the same effect as marking
-every module with ``{.deadCodeElim:on}``. However, for some modules such as
-the GTK wrapper it makes sense to *always* turn on dead code elimination -
-no matter if it is globally active or not.
-
-Example:
-
-.. code-block:: nim
-  {.deadCodeElim: on.}
-
 
 ..
   NoForward pragma