Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AArch64: Implement genHeapAlloc for VMnewEvaluator #9607

Merged
merged 1 commit into from
May 21, 2020

Conversation

Akira1Saitoh
Copy link
Contributor

Implement genHeapAlloc helper method used by VMnewEvaluator.

Depends on #9605

Signed-off-by: Akira Saitoh saiaki@jp.ibm.com

@knn-k
Copy link
Contributor

knn-k commented May 20, 2020

jenkins compile alinux64 jdk11

@Akira1Saitoh Akira1Saitoh changed the title WIP: AArch64: Implement genHeapAlloc for VMnewEvaluator AArch64: Implement genHeapAlloc for VMnewEvaluator May 21, 2020
@@ -564,7 +564,74 @@ static void
genHeapAlloc(TR::Node *node, TR::CodeGenerator *cg, uint32_t allocSize, TR::Register *resultReg, TR::Register *heapTopReg,
TR::Register *tempReg, TR::LabelSymbol *callLabel)
{
TR_UNIMPLEMENTED();
TR::Compilation * comp = cg->comp();
TR_J9VMBase *fej9 = (TR_J9VMBase *) (cg->fe());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fej9 is used nowhere in this function.

TR::Compilation * comp = cg->comp();
TR_J9VMBase *fej9 = (TR_J9VMBase *) (cg->fe());
TR::Register *metaReg = cg->getMethodMetaDataRegister();
TR::ILOpCodes opCode = node->getOpCodeValue();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

opCode is used nowhere in this function.

@@ -564,7 +564,74 @@ static void
genHeapAlloc(TR::Node *node, TR::CodeGenerator *cg, uint32_t allocSize, TR::Register *resultReg, TR::Register *heapTopReg,
TR::Register *tempReg, TR::LabelSymbol *callLabel)
{
TR_UNIMPLEMENTED();
TR::Compilation * comp = cg->comp();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comp is used nowhere in this function.

Implement `genHeapAlloc` helper method used by `VMnewEvaluator`.

Signed-off-by: Akira Saitoh <saiaki@jp.ibm.com>
@Akira1Saitoh
Copy link
Contributor Author

Removed 3 unused variables mentioned above.

@knn-k
Copy link
Contributor

knn-k commented May 21, 2020

jenkins compile alinux64 jdk11

@knn-k knn-k self-assigned this May 21, 2020
@knn-k
Copy link
Contributor

knn-k commented May 21, 2020

Build was successful.
Merging now, as the evaluator is not enabled yet.

@knn-k knn-k merged commit 8c027b6 into eclipse-openj9:master May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants