Skip to content
  • pcpa's avatar
    Avoid problems if JIT_INSTR_MAX is miscalculated · fb21cf9f
    pcpa authored
    	* lib/jit_size.c: Preventively use at least 144 bytes
    	if JIT_INSTR_MAX is less than it. The logic is not
    	guaranteed to be 100% precise, it is mostly heuristics
    	to allocate a buffer with as close as possible size,
    	but a wrong value may cause code generation to write
    	past the end of the buffer.
    fb21cf9f