diff --git a/compiler/optimizer/OMRValuePropagation.cpp b/compiler/optimizer/OMRValuePropagation.cpp index e0e8708010e..993467e66fc 100644 --- a/compiler/optimizer/OMRValuePropagation.cpp +++ b/compiler/optimizer/OMRValuePropagation.cpp @@ -7923,7 +7923,7 @@ void OMR::ValuePropagation::doDelayedTransformations() bool recognizedStatic = false; if ((origFirst->getOpCodeValue() == TR::aload) && - origFirst->getSymbol()->isStatic()) + origFirst->getSymbol()->isStaticField()) { int32_t staticNameLen = -1; char *staticName = NULL; diff --git a/compiler/optimizer/VPHandlers.cpp b/compiler/optimizer/VPHandlers.cpp index 874715fb5e8..a7bf1b80857 100644 --- a/compiler/optimizer/VPHandlers.cpp +++ b/compiler/optimizer/VPHandlers.cpp @@ -2617,7 +2617,7 @@ TR::Node *constrainIaload(OMR::ValuePropagation *vp, TR::Node *node) int32_t fieldNameLen = -1; char *fieldName = NULL; if (underlyingArray && underlyingArray->getOpCode().hasSymbolReference() && - (underlyingArray->getSymbolReference()->getSymbol()->isStatic() || + (underlyingArray->getSymbolReference()->getSymbol()->isStaticField() || underlyingArray->getSymbolReference()->getSymbol()->isShadow())) { if (underlyingArray->getSymbolReference()->getSymbol()->isShadow())