コード例 #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 AddEagerlyCompiledModule([ValidatedNotNull] this IExecutionEngine jit, BitcodeModule module)
 {
     jit.ValidateNotNull(nameof(jit));
     return(jit.AddEagerlyCompiledModule(module, jit.DefaultSymbolResolver));
 }
コード例 #2
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 AddEagerlyCompiledModule(this IExecutionEngine jit, BitcodeModule module)
 {
     return(jit.AddEagerlyCompiledModule(module, jit.DefaultSymbolResolver));
 }