public static AnnotationStore CreateStore(ControlFlowGraph cfg, BlockOptimization optimization) { AnnotationStoreBuilder builder; switch (optimization) { case BlockOptimization.Basic: builder = new BasicAnnotationBuilder(cfg); break; case BlockOptimization.Detailed: builder = new DetailedAnnotationBuilder(cfg); break; default: throw new ArgumentException(); } return(builder.BuildStore()); }
public StatementDecompiler(BlockOptimization optimization) { this.optimization = optimization; }
public StatementDecompiler (BlockOptimization optimization) { this.optimization = optimization; }