diff options
author | Araq <rumpf_a@web.de> | 2013-10-06 00:10:45 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-10-06 00:10:45 +0200 |
commit | ac474a281204fbbc5cfa817106c0b4c745240f18 (patch) | |
tree | 23f375796f3f67f88422d1906c8e70411d5e2b7b /doc | |
parent | 422327c01005ae0c7c7238636a96e741923a77d8 (diff) | |
download | Nim-ac474a281204fbbc5cfa817106c0b4c745240f18.tar.gz |
'noStackFrame' implies 'naked' in the generated C code
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index 905b80a18..29b51321e 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -4671,8 +4671,10 @@ NoStackFrame pragma ------------------- A proc can be marked with the `noStackFrame`:idx: pragma to tell the compiler it should not generate a stack frame for the proc. There are also no exit -statements like ``return result;`` generated. This is useful for procs that -only consist of an assembler statement. +statements like ``return result;`` generated and the generated C function is +declared as ``__declspec(naked)`` or ``__attribute__((naked))`` (depending on +the used C compiler). This is useful for procs that only consist of an +assembler statement. error pragma |