diff --git a/runtime/compiler/x/codegen/J9TreeEvaluator.cpp b/runtime/compiler/x/codegen/J9TreeEvaluator.cpp index a9ee2dc0a43..00d0116b3af 100644 --- a/runtime/compiler/x/codegen/J9TreeEvaluator.cpp +++ b/runtime/compiler/x/codegen/J9TreeEvaluator.cpp @@ -1574,7 +1574,7 @@ static TR::Register * generateMultianewArrayWithInlineAllocators(TR::Node *node, "or same if using full refs. But was %d bytes for discontiguous and %d bytes for contiguous array.\n", fej9->getOffsetOfDiscontiguousDataAddrField(), fej9->getOffsetOfContiguousDataAddrField()); - generateRegImm64Instruction(TR::InstOpCode::MOV8RegImm4, + generateRegImmInstruction(TR::InstOpCode::MOV8RegImm4, node, temp3Reg, static_cast(fej9->getOffsetOfDiscontiguousDataAddrField() - fej9->getOffsetOfContiguousDataAddrField()),