[cxx][x86] ifndef DISABLE_JIT around mono_arch_emit_prolog. (mono/mono#17346)
authorJay Krell <jaykrell@microsoft.com>
Wed, 16 Oct 2019 18:28:24 +0000 (11:28 -0700)
committerBernhard Urban-Forster <lewurm@gmail.com>
Wed, 16 Oct 2019 18:28:24 +0000 (20:28 +0200)
Commit migrated from https://github.com/mono/mono/commit/70675241410f886b096ee79decaf6c3da047640a

src/mono/mono/mini/mini-x86.c

index 76cba7a..61254e0 100644 (file)
@@ -4929,6 +4929,8 @@ stack_unaligned (MonoMethod *m, gpointer caller)
        g_assert_not_reached ();
 }
 
+#ifndef DISABLE_JIT
+
 guint8 *
 mono_arch_emit_prolog (MonoCompile *cfg)
 {
@@ -5159,6 +5161,8 @@ mono_arch_emit_prolog (MonoCompile *cfg)
        return code;
 }
 
+#endif
+
 void
 mono_arch_emit_epilog (MonoCompile *cfg)
 {