module volt.lowerer.typeidreplacer

Code Map

module volt.lowerer.typeidreplacer;


//! Replaces typeid(...) expressions with a call to the TypeInfo's
//! constructor.
class TypeidReplacer : NullVisitor, Pass
{
public:
	lp: LanguagePass;
	typeinfoVtable: ir.Struct;
	thisModule: ir.Module;


public:
	this(lp: LanguagePass) { }
	fn transform(m: ir.Module) { }
	fn close() { }
	fn enter(exp: ir.Exp, _typeid: ir.Typeid) Status { }
}
class TypeidReplacer : NullVisitor, Pass

Replaces typeid(...) expressions with a call to the TypeInfo's constructor.