openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

Remove Unnecessary Assertion in removeHCRGuards

Open luke-li-2003 opened this issue 1 year ago • 0 comments

The assertion "!guardInfo->getByteCodeInfo().isInvalidByteCodeIndex()" is obsolete and not needed since the function does not actual access a ByteCodeInfo anywhere. It fails incorrectly when a "TR_SideEffectGuard" is encountered.

luke-li-2003 avatar Oct 02 '24 21:10 luke-li-2003