Skip to content

Commit ff4de71

Browse files
authored
Merge pull request eclipse-omr#7923 from BradleyWood/iconstflags
Do not treat iconst node as unsigned long
2 parents 99c4afa + f670835 commit ff4de71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/optimizer/OMRSimplifierHandlers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12304,7 +12304,7 @@ TR::Node *removeArithmeticsUnderIntegralCompare(TR::Node *node, TR::Simplifier *
1230412304
// calling constNode->setConstValue()
1230512305
// Hence, creating a new node here and copy the old node's internal info.
1230612306
TR::Node *newConstNode = TR::Node::create(secondChild, secondChild->getOpCodeValue(), 0);
12307-
newConstNode->setUnsignedLongInt(newUConst);
12307+
newConstNode->setConstValue(newUConst);
1230812308
node->setAndIncChild(0, opNode->getFirstChild());
1230912309
node->setAndIncChild(1, newConstNode);
1231012310

0 commit comments

Comments
 (0)