private void CompileHelpers(MethodDef method, ScopeBlock scope) { var methodCtx = new IRContext(method, method.Body); methodCtx.IsRuntime = true; var irTransformer = new IRTransformer(scope, methodCtx, rt); irTransformer.Transform(); var ilTranslator = new ILTranslator(rt); var ilTransformer = new ILTransformer(method, scope, rt); ilTranslator.Translate(scope); ilTransformer.Transform(); var postTransformer = new ILPostTransformer(method, scope, rt); postTransformer.Transform(); }
protected virtual void TransformVMIR() { var transformer = new IRTransformer(RootScope, IRContext, Runtime); transformer.Transform(); }