.noalias annotation; frontend support (#15419)
* .noalias annotation; frontend support * added .noalias support to Nim; implements https://github.com/nim-lang/RFCs/issues/204
This commit is contained in:
parent
453167a41e
commit
50b6f6996a
11 changed files with 53 additions and 12 deletions
|
|
@ -588,4 +588,7 @@ NIM_STATIC_ASSERT(sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8, ""
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#define NIM_NOALIAS __restrict
|
||||
/* __restrict is said to work for all the C(++) compilers out there that we support */
|
||||
|
||||
#endif /* NIMBASE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue