# New Ticket Created by  Bernhard Schmalhofer 
# Please include the string:  [perl #38841]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38841 >


The exec runcore is about saving compiled JIT code in an object file and 
generating an executable.
The generated executable can then be executed without having to do JIT 
compilation again.
Compilation and execution are two very distinct phases, still they are 
refered to as exec core, as
indicated by the enum PARROT_EXEC_CORE in interpreter.h.

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'.

The problem that core is dumped, whenever the compiled JIT is executed, 
would of course not be
solved by that.

Any comments?

CU, Bernhard


Reply via email to