Disabled tail-call opt entirely
This commit is contained in:
parent
58bf463c40
commit
7a12088bbe
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue