summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2018-03-09 12:37:14 -0800
committerOri Bernstein <ori@markovcorp.com>2018-03-09 12:37:14 -0800
commite65d5c4019e76430398e4ebc1cb734f1efea3b14 (patch)
tree65a736c861e23f901e80993a1a73bf756f9f7108
parent7b024df82962f4bfe24db5b74fe2a92aac26cf8e (diff)
downloadmc-e65d5c4019e76430398e4ebc1cb734f1efea3b14.tar.gz
Remove accidentally committed cruft.
-rw-r--r--lib/std/bld.sub1
-rw-r--r--lib/std/bytealloc.myr6
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/std/bld.sub b/lib/std/bld.sub
index 01855ff..244b992 100644
--- a/lib/std/bld.sub
+++ b/lib/std/bld.sub
@@ -82,7 +82,6 @@ lib std =
utf.myr
varargs.myr
writeall.myr
- valgrind+x64.s
# asm optimizations
memops.myr
diff --git a/lib/std/bytealloc.myr b/lib/std/bytealloc.myr
index becef31..4d2c921 100644
--- a/lib/std/bytealloc.myr
+++ b/lib/std/bytealloc.myr
@@ -25,10 +25,8 @@ pkg std =
pkglocal const zbytealloc : (sz:size -> byte#)
pkglocal const align : (m : std.size, align : std.size -> std.size)
pkglocal const allocsz : (sz : std.size -> std.size)
-;;
-extern const vgalloc : (p : byte#, sz : size -> void)
-extern const vgfree : (p : byte#, sz : size -> void)
+;;
const Zslab = (0 : slab#)
const Zchunk = (0 : chunk#)
@@ -141,7 +139,6 @@ const bytealloc = {sz
tracealloc(p, sz)
unlock(memlck)
;;
- vgalloc(p, sz)
-> p
}
@@ -168,7 +165,6 @@ const bytefree = {p, sz
else
bigfree(p, sz)
;;
- vgfree(p, sz)
}
const bigalloc = {sz