revert unintended changes
This commit is contained in:
parent
7f63c1b83d
commit
e3ddc6b83a
1 changed files with 2 additions and 2 deletions
|
|
@ -3391,8 +3391,8 @@ else:
|
|||
|
||||
|
||||
when not defined(JS):
|
||||
proc likelyProc(val: bool): bool {.importc: "likely", nodecl, nosideeffect.}
|
||||
proc unlikelyProc(val: bool): bool {.importc: "unlikely", nodecl, nosideeffect.}
|
||||
proc likelyProc(val: bool): bool {.importc: "NIM_LIKELY", nodecl, nosideeffect.}
|
||||
proc unlikelyProc(val: bool): bool {.importc: "NIM_UNLIKELY", nodecl, nosideeffect.}
|
||||
|
||||
template likely*(val: bool): bool =
|
||||
## Hints the optimizer that `val` is likely going to be true.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue