add stl/json.nas & fix bug

bug: may cause program crash if stack overflow occurs on main stack
This commit is contained in:
ValKmjolnir
2022-10-08 21:34:47 +08:00
parent d3e784d191
commit d72aee62fa
8 changed files with 314 additions and 298 deletions
+1
View File
@@ -1035,6 +1035,7 @@ vmexit:
if(top<canary)\
goto *code[++pc];\
die("stack overflow");\
goto *code[++pc];\
}
// do not cause stackoverflow
#define exec_nodie(op) {op();goto *code[++pc];}