summary refs log tree commit diff stats
path: root/lib/pure/lexbase.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-08-08 22:45:21 +0200
committerAndreas Rumpf <andreas@andreas-desktop>2010-08-08 22:45:21 +0200
commit8098e2a421bf26ad0f350f297f19f34619207443 (patch)
treeada62dabe6a38c7fbe47d65e2674b9070f2cef3c /lib/pure/lexbase.nim
parentc9e011e36cf400e1a2e5466a1339f716623508f7 (diff)
downloadNim-8098e2a421bf26ad0f350f297f19f34619207443.tar.gz
inlining of the write barrier for dlls
Diffstat (limited to 'lib/pure/lexbase.nim')
-rwxr-xr-xlib/pure/lexbase.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/lexbase.nim b/lib/pure/lexbase.nim
index bb207e92a..c875e10bc 100755
--- a/lib/pure/lexbase.nim
+++ b/lib/pure/lexbase.nim
@@ -78,7 +78,8 @@ proc FillBuffer(L: var TBaseLexer) =
   toCopy = L.BufLen - L.sentinel - 1
   assert(toCopy >= 0)
   if toCopy > 0:
-    MoveMem(L.buf, addr(L.buf[L.sentinel + 1]), toCopy * chrSize) # "moveMem" handles overlapping regions
+    MoveMem(L.buf, addr(L.buf[L.sentinel + 1]), toCopy * chrSize) 
+    # "moveMem" handles overlapping regions
   charsRead = L.input.readData(L.input, addr(L.buf[toCopy]),
                                (L.sentinel + 1) * chrSize) div chrSize
   s = toCopy + charsRead
class='alt'>