commit 7a12088

Devine Lu Linvega  ·  2022-08-06 18:20:09 +0000 UTC
parent 58bf463
Disabled tail-call opt entirely
1 files changed,  +0, -5
+0, -5
 1@@ -216,11 +216,6 @@ static int
 2 writeopcode(char *w)
 3 {
 4 	Uint8 res;
 5-	if(jsrlast && scmp(w, "JMP2r", 5)) { /* tail-call optimization */
 6-		p.data[p.ptr - 1] = findopcode("JMP2");
 7-		jsrlast = 0;
 8-		return 1;
 9-	}
10 	res = writebyte(findopcode(w));
11 	if(scmp(w, "JSR2", 4))
12 		jsrlast = 1;