version 1.3, 2002/06/02 17:02:56
|
version 1.5, 2003/02/02 11:05:51
|
Line 156 int main(int argc, char **argv)
|
Line 156 int main(int argc, char **argv)
|
int disassembling = 0; |
int disassembling = 0; |
int profiling = 0; |
int profiling = 0; |
int c; |
int c; |
Inst vm_code[CODE_SIZE]; |
Inst *vm_code=(Inst *)calloc(CODE_SIZE,sizeof(Inst)); |
Inst *start; |
Inst *start; |
Cell stack[STACK_SIZE]; |
Cell *stack=(Cell *)calloc(STACK_SIZE,sizeof(Cell)); |
engine_t runvm=engine; |
engine_t runvm=engine; |
|
|
while ((c = getopt(argc, argv, "hdpt")) != -1) { |
while ((c = getopt(argc, argv, "hdpt")) != -1) { |
Line 174 int main(int argc, char **argv)
|
Line 174 int main(int argc, char **argv)
|
break; |
break; |
case 'p': |
case 'p': |
profiling=1; |
profiling=1; |
|
use_super=0; /* we don't want superinstructions in the profile */ |
runvm = engine_debug; |
runvm = engine_debug; |
break; |
break; |
case 't': |
case 't': |