Skip to content

Commit 0db3588

Browse files
committed
restore tempReg initialization
1 parent e1fccf1 commit 0db3588

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/compiler/p/codegen/J9TreeEvaluator.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -10514,6 +10514,8 @@ hashCodeHelper(TR::Node *node, TR::CodeGenerator *cg, TR::DataType elementType,
1051410514
generateTrg1Src2Instruction(cg, TR::InstOpCode::add, node, valueReg, valueReg, endReg);
1051510515
generateTrg1Src2Instruction(cg, TR::InstOpCode::add, node, endReg, valueReg, vendReg);
1051610516

10517+
// initialisations
10518+
generateTrg1Src2Instruction(cg, TR::InstOpCode::XOR, node, tempReg, tempReg, tempReg);
1051710519
loadConstant(cg, node, 0x0, constant0Reg);
1051810520

1051910521
// special cases for 0, 1, 2

0 commit comments

Comments
 (0)