runtime icon indicating copy to clipboard operation
runtime copied to clipboard

ReadyToRunCodegenNodeFactory cleanup / refactor

Open nattress opened this issue 8 years ago • 1 comments

  • This class has gotten very big and contains several groups of unrelated functionality;
  • Usefulness of deriving from NodeFactory is questionable, it seems we're using just a fraction of its functionality and overlaps in the various helper names cause repeated aliasing issues;
  • If it turns out to be possible to cleanly separate ReadyToRunCodegenNodeFactory from NodeFactory, we should either split it into several classes or at least make it a partial class living in several files:
    • CorInfoImpl utility functions for constructing the various helper cells and signatures;
    • Token collection and lookup engine;
  • R2R header table collection management.

nattress avatar Aug 28 '18 23:08 nattress

Some of the suggested cleanups have been carried out since and the rest don't seem super important, closing.

trylek avatar Apr 04 '22 21:04 trylek