summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-03-14 23:57:41 +0100
committerAraq <rumpf_a@web.de>2011-03-14 23:57:41 +0100
commit8d734244b14e09c97267432468ac20fcf8ff82eb (patch)
tree253eae61df789c42efe49b7c30cf38c66a3c208e /lib/system.nim
parent6850fb73c1b9ae8d3f56a61ee37922c3cb3788d6 (diff)
downloadNim-8d734244b14e09c97267432468ac20fcf8ff82eb.tar.gz
linearScanEnd pragma; string case statement optimization
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 6909185e6..043275302 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1198,12 +1198,12 @@ proc each*[T](data: var openArray[T], op: proc (x: var T)) =
 
 # ----------------- GC interface ---------------------------------------------
 
-proc GC_disable*() {.rtl.}
+proc GC_disable*() {.rtl, inl.}
   ## disables the GC. If called n-times, n calls to `GC_enable` are needed to
   ## reactivate the GC. Note that in most circumstances one should only disable
   ## the mark and sweep phase with `GC_disableMarkAndSweep`.
 
-proc GC_enable*() {.rtl.}
+proc GC_enable*() {.rtl, inl.}
   ## enables the GC again.
 
 proc GC_fullCollect*() {.rtl.}