• Kevin Modzelewski's avatar
    Add some checking to make sure that clearing an IC is safe · c3fc031e
    Kevin Modzelewski authored
    We clear a patchpoint by writing a jmp-to-slowpath at the beginning.
    But there could be a stack frame currently inside the IC, and we
    need to be able to invalidate the IC while letting the other frame
    return successfully.  So make sure that we don't overwrite
    any potential return address.
    c3fc031e
rewriter.cpp 51.2 KB