On Apr 3, 2006, at 21:04, Bernhard Schmalhofer (via RT) wrote:

I propose to replace the enum value PARROT_EXEC_CORE with the two new
values : PARROT_EXEC_COMPILE_CORE  and PARROT_EXEC_RUN_CORE.
This should make the code more clear and might limit the use of the
shared variable 'Parrot_exec_run'.

Very much appreciated. As already noted in that include file, runcore feature bits should be arranged, so that individual parts of a run core can be tested too. E.g. exec := jit_bit | exec_bit. And while there, e.g. runcore should have an associated name for better error reporting in e.g. src/interpreter.c:308

internal_exception(1, "Couldn't find init_func for core %d", which);

Thanks,
leo

Reply via email to