Disabled tail-call opt entirely

This commit is contained in:
Devine Lu Linvega 2022-08-06 11:20:09 -07:00
parent 58bf463c40
commit 7a12088bbe
1 changed files with 0 additions and 5 deletions

View File

@ -216,11 +216,6 @@ static int
writeopcode(char *w) writeopcode(char *w)
{ {
Uint8 res; Uint8 res;
if(jsrlast && scmp(w, "JMP2r", 5)) { /* tail-call optimization */
p.data[p.ptr - 1] = findopcode("JMP2");
jsrlast = 0;
return 1;
}
res = writebyte(findopcode(w)); res = writebyte(findopcode(w));
if(scmp(w, "JSR2", 4)) if(scmp(w, "JSR2", 4))
jsrlast = 1; jsrlast = 1;