
Public Member Functions | |
| DoReplaceNewtype (const TypeMap *typeMap) | |
| const IR::Node * | postorder (IR::Cast *expression) override |
| const IR::Node * | postorder (IR::Type_Newtype *type) override |
Replaces newtype by the type it was defined to represent. This can be done when all the information required by the control-plane has been generated. We actually just replace the newtype by a typedef.