Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Fix isFinal for method infos. #1170

Merged
merged 2 commits into from Mar 6, 2015
Merged

Conversation

brendandahl
Copy link
Contributor

No description provided.

@brendandahl
Copy link
Contributor Author

Removes 78 uneeded unwinds.

@@ -90,7 +90,7 @@ module J2ME {
return true;
}
// XXX Determine whether we can start using the code in this function.
return false;
return methodInfo.isFinal;
var result = methodInfo.isFinal;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we now use the code in this function? Maybe it wasn't working before a1fd332 and it's working now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not yet, that code is only valid if every class in every jar is loaded. However, mbx and I have been chatting on enabling better analysis.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, could you, just for clarity, comment it out?

@marco-c
Copy link
Contributor

marco-c commented Feb 28, 2015

Looks good to me, just needs to be updated.

}
return result;
return methodInfo.isFinal;
// XXX The following can only be used if every class in all jars is loaded.
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: An enclosing /* */ would have worked too 😄

@marco-c marco-c merged commit fec2fc6 into mozilla:master Mar 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants