remove old VM test code

This commit is contained in:
Yuichi Nishiwaki
2013-10-12 13:01:48 +09:00
parent ee3442210c
commit 5f90f49604
2 changed files with 0 additions and 36 deletions
-29
View File
@@ -137,32 +137,3 @@ pic_codegen(pic_state *pic, pic_value obj, struct pic_env *env)
return proc;
}
#if 0
int
main()
{
pic_state *pic;
struct pic_proc proc;
struct pic_code *code;
pic_value v;
pic = pic_open();
proc.u.code = code = (struct pic_code *)malloc(sizeof(struct pic_code) * 256);
code[0].insn = OP_PUSHI;
code[0].u.i = 1;
code[1].insn = OP_PUSHI;
code[1].u.i = 2;
code[2].insn = OP_ADD;
code[3].insn = OP_STOP;
v = pic_run(pic, &proc, pic_nil_value());
pic_debug(pic, v);
pic_close(pic);
return 0;
}
#endif