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 bailouts from inlined callback.call #5654

Merged
merged 1 commit into from
Sep 10, 2018

Conversation

sigatrev
Copy link
Contributor

No description provided.

@sigatrev sigatrev requested a review from rajatd August 29, 2018 20:48
@@ -1010,6 +1010,13 @@ Inline::InlinePolymorphicFunctionUsingFixedMethods(IR::Instr *callInstr, const F
return instrNext;
}

IR::RegOpnd * Inline::GetCallbackFunctionOpnd(IR::Instr * callInstr)
{
IR::Instr * callbackSymDefInstr = callInstr->GetSrc1()->GetStackSym()->GetInstrDef();
Copy link
Contributor

Choose a reason for hiding this comment

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

callbackSymDefInstr [](start = 16, length = 19)

Can you rename this to, say, callApplyLdInstr? Its not really the def instr for the callback, is it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed. It's not the def instr for the callback, not sure why I named it as such.

Copy link
Contributor

@rajatd rajatd left a comment

Choose a reason for hiding this comment

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

:shipit:

@chakrabot chakrabot merged commit 00184d7 into chakra-core:master Sep 10, 2018
chakrabot pushed a commit that referenced this pull request Sep 10, 2018
Merge pull request #5654 from sigatrev:callbackFuncOpnd
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.

3 participants