incorporateFunction(M); // Start out in incorporated state
}
-SlotCalculator::TypePlane &SlotCalculator::getPlane(unsigned Plane) {
- // Okay we are just returning an entry out of the main Table. Make sure the
- // plane exists and return it.
- if (Plane >= Table.size())
- Table.resize(Plane+1);
- return Table[Plane];
-}
-
// processModule - Process all of the module level function declarations and
// types that are available.
//
return ModuleTypeLevel;
}
- TypePlane &getPlane(unsigned Plane);
+ TypePlane &getPlane(unsigned Plane) {
+ // Okay we are just returning an entry out of the main Table. Make sure the
+ // plane exists and return it.
+ if (Plane >= Table.size())
+ Table.resize(Plane+1);
+ return Table[Plane];
+ }
+
TypeList& getTypes() { return Types; }
/// incorporateFunction/purgeFunction - If you'd like to deal with a function,