Log all sdb log messages to the log file instead of stdout.
[mono.git] / mono / mini / tramp-x86.c
index 90b76fdbbe903619a9962f341b95ec6367553a30..7da21c2e44cf59b646203bd9cc3479d38783ecbc 100644 (file)
@@ -577,7 +577,7 @@ mono_arch_create_specific_trampoline (gpointer arg1, MonoTrampolineType tramp_ty
        x86_jump_code (buf, tramp);
        g_assert ((buf - code) <= TRAMPOLINE_SIZE);
 
-       nacl_domain_code_validate (domain, &code, kNaClAlignment, &buf);
+       nacl_domain_code_validate (domain, &code, NACL_SIZE (4, kNaClAlignment), &buf);
 
        mono_arch_flush_icache (code, buf - code);