git: 9front

Download patch

ref: 169a88f9fee8db5981c1cce1e77673cb7fbffd46
parent: 9091495320bba43db8e38b256cbc22182a125494
parent: ebc15b28cd2edb4278b28e213a94c438dfedb757
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Apr 10 18:26:37 EDT 2020

merge

--- a/sys/src/cmd/cc/macbody
+++ b/sys/src/cmd/cc/macbody
@@ -854,16 +854,9 @@
 	char *h;
 	long nh;
 
-	if(thunk >= 100L*NHUNK)
-		nh = 100L*NHUNK;
-	else if(thunk >= 50L*NHUNK)
-		nh = 50L*NHUNK;
-	else if(thunk >= 25L*NHUNK)
-		nh = 25L*NHUNK;
-	else if(thunk >= 10L*NHUNK)
+	nh = NHUNK;
+	if(thunk >= 10L*NHUNK)
 		nh = 10L*NHUNK;
-	else
-		nh = NHUNK;
 	h = (char*)mysbrk(nh);
 	if(h == (char*)-1) {
 		yyerror("out of memory");
--