Ejemplo n.º 1
0
 public static extern void DumpMethodInfo(IntPtr corJitInfo, CorInfo *methodInfo, CorJitFlag flags, IntPtr nativeEntry, IntPtr nativeSizeOfCode);
        internal static unsafe CorJitCompiler.CorJitResult CompileMethodDel(IntPtr thisPtr, [In] IntPtr corJitInfoPtr, [In] CorInfo *methodInfo,
                                                                            CorJitFlag flags, [Out] IntPtr nativeEntry, [Out] IntPtr nativeSizeOfCode)
        {
            hook.RemoveHook();
            var res = hook.Compile(thisPtr, corJitInfoPtr, methodInfo, flags, nativeEntry, nativeSizeOfCode);

            NativeDump(corJitInfoPtr, methodInfo, flags, nativeEntry, nativeSizeOfCode);
            return(res);
        }
Ejemplo n.º 3
0
 public CorJitResult CompileMethod(IntPtr thisPtr, [In] IntPtr corJitInfo, [In] CorInfo *methodInfo, CorJitFlag flags, [Out] IntPtr nativeEntry, [Out] IntPtr nativeSizeOfCode)
 {
     return(_compileMethod(thisPtr, corJitInfo, methodInfo, flags, nativeEntry, nativeSizeOfCode));
 }