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

[runtime] Avoid warning about missing icalls when AOTing. #10760

Merged
merged 1 commit into from Sep 25, 2018

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Sep 23, 2018

Fixes #10598.

@lewurm
Copy link
Contributor

lewurm commented Sep 23, 2018

warn_on_missing is never true?

@vargaz
Copy link
Contributor Author

vargaz commented Sep 23, 2018

Fixed.

@vargaz vargaz force-pushed the no-warn-missing branch 2 times, most recently from 2f3fa02 to 3d5900a Compare September 23, 2018 19:21
@@ -8291,7 +8291,7 @@ no_icall_table (void)
* If the method is not found, warns and returns NULL.
*/
gpointer
mono_lookup_internal_call_full (MonoMethod *method, mono_bool *uses_handles)
mono_lookup_internal_call_full2 (MonoMethod *method, gboolean warn_on_missing, mono_bool *uses_handles)
Copy link
Contributor

Choose a reason for hiding this comment

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

Since mono_lookup_internal_call_full is now dead-code (it's not MONO_API and nothing else use it in the runtime AFAICT), why not simply adding the parameter to mono_lookup_internal_call_full?

@vargaz
Copy link
Contributor Author

vargaz commented Sep 24, 2018

It was in loader.h which is a public header. Is that just an oversight ?

…ookup_internal_call_full () to icall-internals.h

since its not a public api function.

Fixes mono#10598.
@luhenry luhenry merged commit 1f6b738 into mono:master Sep 25, 2018
@marek-safar
Copy link
Member

@monojenkins backport 2018-10

@vargaz vargaz deleted the no-warn-missing branch August 23, 2020 21:46
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…ookup_internal_call_full () to icall-internals.h (mono/mono#10760)

since its not a public api function.

Fixes mono/mono#10598.

Commit migrated from mono/mono@1f6b738
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

4 participants