It seems that NanoJIT may decide to omit a conditional branch if the code can simply fall through. The branch instructions is returned as NULL in this case causing a crash. We need to detect and avoid trying to add the NULL instruction to the list of jumps to be resolved.
It seems that NanoJIT may decide to omit a conditional branch if the code can simply fall through. The branch instructions is returned as NULL in this case causing a crash. We need to detect and avoid trying to add the NULL instruction to the list of jumps to be resolved.