Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Fix tryGetOptimizedFunctionRoot to actually get optimized function root #2401

Closed
wants to merge 2 commits into from

Conversation

cblappert
Copy link
Contributor

Release Notes: None

Previously, tryGetOptimizedFunctionRoot would only get the root successfully if the root was one of the optimized functions or the parent of one of the residual functions. Now we look at the optimized functions as well as any of their parents. Added 2 test cases.

Fixes #2399

Copy link
Contributor

@trueadm trueadm left a comment

Choose a reason for hiding this comment

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

I was planning on taking a similar approach to dealing with this issue, so this LGTM.

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

cblappert is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@cblappert cblappert deleted the fix_2392 branch August 13, 2018 22:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants