revert unintended changes

This commit is contained in:
narimiran 2019-06-04 14:33:55 +02:00
commit e3ddc6b83a

View file

@ -3391,8 +3391,8 @@ else:
when not defined(JS): when not defined(JS):
proc likelyProc(val: bool): bool {.importc: "likely", nodecl, nosideeffect.} proc likelyProc(val: bool): bool {.importc: "NIM_LIKELY", nodecl, nosideeffect.}
proc unlikelyProc(val: bool): bool {.importc: "unlikely", nodecl, nosideeffect.} proc unlikelyProc(val: bool): bool {.importc: "NIM_UNLIKELY", nodecl, nosideeffect.}
template likely*(val: bool): bool = template likely*(val: bool): bool =
## Hints the optimizer that `val` is likely going to be true. ## Hints the optimizer that `val` is likely going to be true.