delete ret stack/ add math.lg

now return address is stored on value stack
This commit is contained in:
ValKmjolnir
2021-12-02 22:23:22 +08:00
parent b8ef3cf6b6
commit aa191a9feb
6 changed files with 75 additions and 71 deletions
+1 -1
View File
@@ -1237,7 +1237,7 @@ void nasal_codegen::print_op(uint32_t index)
case op_newf: case op_jmp: case op_jt: case op_jf:
printf("0x%x\n",c.num);break;
case op_callb:
printf("0x%x <%s>\n",c.num,builtin[c.num].name);break;
printf("0x%x <%s@0x%lx>\n",c.num,builtin[c.num].name,(uint64_t)builtin[c.num].func);break;
case op_callg: case op_mcallg: case op_loadg:
case op_calll: case op_mcalll: case op_loadl:
printf("0x%x\n",c.num);break;