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

fix bailout path for oopjit on arm #1623

Merged
merged 2 commits into from Sep 22, 2016
Merged

Conversation

MikeHolman
Copy link
Contributor

No description provided.

// ldimm r0, dataAddr
intptr_t nativeDataAddr = func->GetWorkItem()->GetWorkItemData()->nativeDataAddr;
IR::RegOpnd * r0 = IR::RegOpnd::New(nullptr, RegR0, TyMachPtr, func);
Lowerer::InsertMove(r0, IR::AddrOpnd::New(nativeDataAddr, IR::AddrOpndKindDynamicNativeCodeDataRef, func), instr);
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider using LinearScan::InsertMove to keep the instruction numbering intact. Same for the LEA instruction below.

@leirocks
Copy link
Contributor

👍

@chakrabot chakrabot merged commit f2be1ed into chakra-core:master Sep 22, 2016
chakrabot pushed a commit that referenced this pull request Sep 22, 2016
Merge pull request #1623 from MikeHolman:armbailout
@MikeHolman MikeHolman deleted the armbailout branch September 29, 2016 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants