提交 2c08c959 编写于 作者: L Levi Bard 提交者: Josh Peterson

Revert overly aggressive assertion

上级 1a2c16a9
......@@ -382,8 +382,10 @@ mono_x86_throw_exception (mgreg_t *regs, MonoObject *exc,
ctx.ecx = regs [X86_ECX];
ctx.eax = regs [X86_EAX];
/* UNITY: enforce alignment at call sites */
#ifdef __APPLE__
/* The OSX ABI specifies 16 byte alignment at call sites */
g_assert ((ctx.esp % MONO_ARCH_FRAME_ALIGNMENT) == 0);
#endif
if (mono_object_isinst (exc, mono_defaults.exception_class)) {
MonoException *mono_ex = (MonoException*)exc;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册