Refactor TypeStruct and TypeCode restoration

This commit is contained in:
caheckman 2021-11-16 12:14:34 -05:00
parent c53334038d
commit e4451fcd49
10 changed files with 204 additions and 145 deletions

View file

@ -46,10 +46,6 @@ public:
CallGraph *cgraph; ///< Call-graph information for the program
FunctionTestCollection *testCollection; ///< Executable environment from a datatest
map<Funcdata*,PrototypePieces> prototypePieces;
void storePrototypePieces( Funcdata *fd_in, PrototypePieces pp_in ) { prototypePieces.insert(pair<Funcdata*,PrototypePieces>(fd_in,pp_in)); }
PrototypePieces findPrototypePieces( Funcdata *fd_in ) { return (*prototypePieces.find(fd_in)).second; }
#ifdef CPUI_RULECOMPILE
string experimental_file; // File containing experimental rules
#endif