提交 a5e13730 编写于 作者: Z Zoltan Varga

Fix AOT support for OP_GC_CARD_TABLE on amd64.

上级 b07a3824
......@@ -6632,9 +6632,11 @@ mono_arch_emit_exceptions (MonoCompile *cfg)
break;
}
case MONO_PATCH_INFO_GC_CARD_TABLE_ADDR: {
/*FIXME handle AOT - we should not patch there in that case. Reuse is cool since we don't mix code that requires it during AOT with code that doesn't. */
guint8 *pos;
if (cfg->compile_aot)
continue;
/*loading is faster against aligned addresses.*/
code = (guint8*)ALIGN_TO (code, 8);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册