projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d19569
)
[wasm] Keep all icall wrappers in profile only mode, the generated code depends on...
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 27 Sep 2022 23:26:43 +0000
(19:26 -0400)
committer
GitHub
<noreply@github.com>
Tue, 27 Sep 2022 23:26:43 +0000
(19:26 -0400)
src/mono/mono/mini/aot-compiler.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/aot-compiler.c
b/src/mono/mono/mini/aot-compiler.c
index
c79ba81
..
005298f
100644
(file)
--- a/
src/mono/mono/mini/aot-compiler.c
+++ b/
src/mono/mono/mini/aot-compiler.c
@@
-9089,6
+9089,14
@@
compile_method (MonoAotCompile *acfg, MonoMethod *method)
case WRAPPER_SUBTYPE_PTR_TO_STRUCTURE:
case WRAPPER_SUBTYPE_STRUCTURE_TO_PTR:
break;
+ case WRAPPER_SUBTYPE_ICALL_WRAPPER: {
+ MonoJumpInfo *tmp_ji = mono_mempool_alloc0 (acfg->mempool, sizeof (MonoJumpInfo));
+ tmp_ji->type = MONO_PATCH_INFO_METHOD;
+ tmp_ji->data.method = method;
+ get_got_offset (acfg, TRUE, tmp_ji);
+ keep = TRUE;
+ break;
+ }
default:
keep = TRUE;
break;