Skip to content
  • Takashi Kokubun's avatar
    7fa3c71b
    Make sure vm_call_cfunc uses inlined cc · 7fa3c71b
    Takashi Kokubun authored
    which is checked by the first guard. When JIT-inlined cc and operand
    cd->cc are different, the JIT-ed code might wrongly dispatch cd->cc even
    while class check is done with another cc inlined by JIT.
    
    This fixes SEGV on railsbench.
    7fa3c71b
    Make sure vm_call_cfunc uses inlined cc
    Takashi Kokubun authored
    which is checked by the first guard. When JIT-inlined cc and operand
    cd->cc are different, the JIT-ed code might wrongly dispatch cd->cc even
    while class check is done with another cc inlined by JIT.
    
    This fixes SEGV on railsbench.
Loading