[DGD] hooking jit into the dgd system and modularity
Felix A. Croes
felix at dworkin.nl
Wed Apr 12 21:29:17 CEST 2017
Carter Cheng <cartercheng at gmail.com> wrote:
> I actually looking for some advice as to how best to do this since I am a
> rather inexperienced programmer. To just get it to the point where it is
> working my first take is to include some call code to the llvm code cache
> of the jit to update in sdata.cpp and in the compiler code whenever code is
> loaded from disk or when code is freshly compiled respectively. The problem
> with this is it seems to generate an odd dependency between the
> compiler/sdata code and the jit which is not really "semantically"
> necessary I suspect.
I'm not sure whether this is what you mean, but those calls look misplaced
to me. The JIT code should be invoked from only one location, i_funcall()
in interpret.cpp.
Regards,
Felix Croes
More information about the DGD
mailing list