Skip to content

Commit b662e1a

Browse files
committed
x86: Fix reg marked as live in vectorizedHashCode
The result register from inline vectorizedHashCode implementation is marked as live at the end of the method. The call node->setRegister(result) should not happen twice. Issue: #20824 Signed-off-by: Bradley Wood <[email protected]>
1 parent f6e6334 commit b662e1a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

runtime/compiler/x/codegen/J9TreeEvaluator.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9686,7 +9686,6 @@ J9::X86::TreeEvaluator::vectorizedHashCodeHelper(TR::Node *node, TR::DataType dt
96869686
cg->stopUsingRegister(index);
96879687
cg->stopUsingRegister(tmp);
96889688

9689-
node->setRegister(result);
96909689
cg->decReferenceCount(node->getChild(0));
96919690
cg->decReferenceCount(node->getChild(1));
96929691
cg->decReferenceCount(node->getChild(2));

0 commit comments

Comments
 (0)