about summary refs log tree commit diff
path: root/std/mem.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-05-31 00:00:10 +0200
committerBaitinq <[email protected]>2025-05-31 00:04:42 +0200
commit3767425a2f44e0548220502d6e25e795908385a4 (patch)
tree37220fe67340fd4c27b357e310040741eed000e1 /std/mem.src
parentstd: Add arena impl (diff)
downloadinterpreter-3767425a2f44e0548220502d6e25e795908385a4.tar.gz
interpreter-3767425a2f44e0548220502d6e25e795908385a4.tar.bz2
interpreter-3767425a2f44e0548220502d6e25e795908385a4.zip
Bootstrap: Use arena for tokenizer
Diffstat (limited to '')
-rw-r--r--std/mem.src3
1 files changed, 0 insertions, 3 deletions
diff --git a/std/mem.src b/std/mem.src
index 02ca775..1e05c81 100644
--- a/std/mem.src
+++ b/std/mem.src
@@ -23,9 +23,6 @@ let arena_free = (a: *arena) => void {
 };
 
 let arena_alloc = (a: *arena, size: i64) => *void {
-	if ((*a).offset + size > 10000000) {
-		println("LOOOOOOOOOOOOOOOOOOOL!");
-	};
 	let old_offset = (*a).offset;
 	(*a).offset = (*a).offset + size;
 	return cast(*void, cast(*i8, (*a).buf) + cast(*i8, old_offset));