diff options
author | EXetoC <exetoc@gmail.com> | 2014-05-04 22:48:53 +0200 |
---|---|---|
committer | EXetoC <exetoc@gmail.com> | 2014-05-04 22:48:53 +0200 |
commit | 0a0b74bc24f08c0c14712b2e445dfda11787f202 (patch) | |
tree | 53978ae42648d79f47768cc9a9b1914103d4bedb /doc/manual.txt | |
parent | 8d19b099595561d42bf1206c5488cfeaa08ebadb (diff) | |
download | Nim-0a0b74bc24f08c0c14712b2e445dfda11787f202.tar.gz |
asmNoStackFrame -> stackTrace:off
Diffstat (limited to 'doc/manual.txt')
-rw-r--r-- | doc/manual.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index 1af2a3117..b23ef4c0b 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -2335,7 +2335,8 @@ Nimrod identifiers shall be enclosed in a special character which can be specified in the statement's pragmas. The default special character is ``'`'``: .. code-block:: nimrod - proc addInt(a, b: int): int {.asmNoStackFrame.} = + {.push stackTrace:off.} + proc addInt(a, b: int): int = # a in eax, and b in edx asm """ mov eax, `a` @@ -2344,6 +2345,7 @@ specified in the statement's pragmas. The default special character is ``'`'``: call `raiseOverflow` theEnd: """ + {.pop.} If the GNU assembler is used, quotes and newlines are inserted automatically: |