This commit is contained in:
Andreas Rumpf 2021-04-23 13:50:27 +02:00 • committed by GitHub
commit 511b6d2449
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -86,7 +86,7 @@ type
typeInst*: PackedItemId typeInst*: PackedItemId
nonUniqueId*: int32 nonUniqueId*: int32
PackedNode* = object # 20 bytes PackedNode* = object # 28 bytes
kind*: TNodeKind kind*: TNodeKind
flags*: TNodeFlags flags*: TNodeFlags
operand*: int32 # for kind in {nkSym, nkSymDef}: SymId operand*: int32 # for kind in {nkSym, nkSymDef}: SymId

View file

@ -277,7 +277,7 @@ inference. But it has to be enabled via `--sinkInference:on`, either
on the command line or via a `push` pragma. on the command line or via a `push` pragma.
To enable it for a section of code, one can To enable it for a section of code, one can
use `{.push sinkInference: on.}`...`{.pop.}`. use `{.push sinkInference: on.}` ... `{.pop.}`.
The `.nosinks`:idx: pragma can be used to disable this inference The `.nosinks`:idx: pragma can be used to disable this inference
for a single routine: for a single routine: