shithub: mc

Download patch

ref: e65d5c4019e76430398e4ebc1cb734f1efea3b14
parent: 7b024df82962f4bfe24db5b74fe2a92aac26cf8e
author: Ori Bernstein <ori@markovcorp.com>
date: Fri Mar 9 07:37:14 EST 2018

Remove accidentally committed cruft.

--- a/lib/std/bld.sub
+++ b/lib/std/bld.sub
@@ -82,7 +82,6 @@
 	utf.myr
 	varargs.myr
 	writeall.myr
-	valgrind+x64.s
 
 	# asm optimizations
 	memops.myr
--- a/lib/std/bytealloc.myr
+++ b/lib/std/bytealloc.myr
@@ -25,11 +25,9 @@
 	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#)
 const Slabsz 	= 512*KiB
@@ -141,7 +139,6 @@
 		tracealloc(p, sz)
 		unlock(memlck)
 	;;
-	vgalloc(p, sz)
 	-> p
 }
 
@@ -168,7 +165,6 @@
 	else
 		bigfree(p, sz)
 	;;
-	vgfree(p, sz)
 }
 
 const bigalloc = {sz