未验证 提交 95f68273 编写于 作者: Z Zoltan Varga 提交者: GitHub

[wasm] Keep all icall wrappers in profile only mode, the generated code depends on it. (#75918)

上级 4d19569f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册