• Kevin Modzelewski's avatar
    Remove function versions that fail their speculations · b4094e4e
    Kevin Modzelewski authored
    The goal is to not continually call functions that deopt every time,
    since the deopt is expensive.
    
    Right now the threshold is simple: if a function deopts 4 (configurable)
    times, then mark that function version as invalid and force a recompilation
    on the next call.
    b4094e4e
deopt_tests.py 1 KB