[llvm] Add support for building with more recent versions of the mono llvm branch...
[mono.git] / mono / mini / jit.h
index ec77d70b566e0495f7aa8b729e6cf053bb7d3777..408fead304ef2f95073bbe518c329125f519ea24 100644 (file)
@@ -63,6 +63,13 @@ typedef enum {
 MONO_API void
 mono_jit_set_aot_mode      (MonoAotMode mode);
 
+/*
+ * Returns whether the runtime was invoked for the purpose of AOT-compiling an
+ * assembly, i.e. no managed code will run.
+ */
+MONO_API mono_bool
+mono_jit_aot_compiling (void);
+
 /* Allow embedders to decide wherther to actually obey breakpoint instructions
  * in specific methods (works for both break IL instructions and Debugger.Break ()
  * method calls).