When DFG JIT optimizes an existing assembly, it can write others which are read-only. Not seeing a quick or even feasible solution...