• Marius Wachtler's avatar
    Emit trampoline jumps to the slowpath func · 051a4886
    Marius Wachtler authored
    If a jump offset is larger then 0x80 the instruction encoding requires 6bytes instead of 2bytes.
    This adds up quickly, thats why we will try to find another jump to the slowpath with the same condition with a
    smaller offset and jump to it / use it as a trampoline.
    The benchmark show that this increases the performance slightly even though it introduces additional jumps.
    051a4886
rewriter.h 26.4 KB