Hi all,
This patch adds a GCModuleInfo field to the MachineFunction class, to facilitate the retrieval of a potential GCFunctionInfo attached to the function. The motivation for the change is to get access in a proper way to the GC info when generating the function with the JIT. Currently, retrieving this information requires a lot of hacks (eg VMKit’s code lib/J3/Compiler/JavaJITCompiler.cpp).
Because a MachineInfo object is temporary, I believe it is fine to add a field there. OK to apply?
Thanks,
Nicolas
gc.patch (2.84 KB)