예제 #1
0
 /// <summary>Adds a module to the JIT for lazy compilation using the engine's default symbol resolver</summary>
 /// <param name="jit">JIT engine to add the module to</param>
 /// <param name="module">module to add</param>
 /// <returns>Handle for the module in the engine</returns>
 public static ulong AddLazyCompiledModule([ValidatedNotNull] this ILazyCompileExecutionEngine jit, BitcodeModule module)
 {
     jit.ValidateNotNull(nameof(jit));
     return(jit.AddLazyCompiledModule(module, jit.DefaultSymbolResolver));
 }
 /// <summary>Adds a module to the JIT for lazy compilation using the engine's default symbol resolver</summary>
 /// <param name="jit">JIT engine to add the module to</param>
 /// <param name="module">module to add</param>
 /// <returns>Handle for the module in the engine</returns>
 public static ulong AddLazyCompiledModule(this ILazyCompileExecutionEngine jit, BitcodeModule module)
 {
     return(jit.AddLazyCompiledModule(module, jit.DefaultSymbolResolver));
 }