• Marius Wachtler's avatar
    bjit: free codeblocks after tiering up to the LLVM jit · f4ea8105
    Marius Wachtler authored
    we free now the code blocks after a recompile in the LLVM tier (except for OSR frames) because
    it is likely that we will not use the code anymore.
    - we have to make sure we are not currently executing any code we will delete that's why I added bjit_num_inside
    - there were some cases where we forgot to deregister stuff
    - when profiling we don't actually unmap the code in order to not brake profiling
    f4ea8105
ast_interpreter.cpp 79.7 KB