atabac / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Create VM state struct to hold state. Remove state from functions #163

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There are many state-ful variables scattered throughout the VM.  These should 
be consolidated into a state structure.  Perhaps pass a ptr to this struct as 
the first parameter of every VM function (like lua).

Removing state vars from functions is the first step to making the VM 
re-entrant.

Original issue reported on code.google.com by dwhall...@gmail.com on 23 Oct 2010 at 6:15

GoogleCodeExporter commented 9 years ago

Original comment by dwhall...@gmail.com on 26 Dec 2010 at 10:37

GoogleCodeExporter commented 9 years ago
The v10 branch has diverged so far that this big feature could not be easily 
merged from default to v10.  So this issue is moving to Milestone 10 

Original comment by dwhall...@gmail.com on 7 May 2011 at 10:49