In JDK-8276453, we introduced a workaround in LIR_Opr to minimize the patch size in order to ease backporting the fix to released major JDK versions:
const LIR_Opr* operator->() const { return this; }
LIR_Opr* operator->() { return this; }
Ideally, this workaround should be removed and all callers should be updated from `opr->fn()` to `opr.fn()`.
const LIR_Opr* operator->() const { return this; }
LIR_Opr* operator->() { return this; }
Ideally, this workaround should be removed and all callers should be updated from `opr->fn()` to `opr.fn()`.
- relates to
-
JDK-8276453 Undefined behavior in C1 LIR_OprDesc causes SEGV in fastdebug build
- Resolved