summaryrefslogtreecommitdiff
path: root/colm/program.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2011-12-09 07:51:32 +0000
committerAdrian Thurston <thurston@complang.org>2011-12-09 07:51:32 +0000
commitd438330c696624d8cad35ac970bae995e4e372fb (patch)
tree209bc27de9ff2cc0aafa020caa5db5c86c365b77 /colm/program.c
parent487a59171efbd2fabd68bcf77fa336bfd0ee268d (diff)
downloadcolm-d438330c696624d8cad35ac970bae995e4e372fb.tar.gz
More cleanup of Execution. Don't need to be copying data into it from pdaRun
and fsmRun, can just access that data directly in the bytecode loop.
Diffstat (limited to 'colm/program.c')
-rw-r--r--colm/program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/colm/program.c b/colm/program.c
index 48826507..190b6ad2 100644
--- a/colm/program.c
+++ b/colm/program.c
@@ -74,8 +74,8 @@ void colmRunProgram( Program *prg )
Execution execution;
initRtCodeVect( &rcodeCollect );
- initProgramExecution( &execution, prg, &rcodeCollect, 0, 0, -1, prg->rtd->rootCode, 0, 0, 0, 0 );
- mainExecution( &execution );
+ initProgramExecution( &execution, prg, &rcodeCollect, 0, 0, -1 );
+ mainExecution( &execution, prg->rtd->rootCode );
}
}