Mercurial > projects > ldc
view ir/irsymbol.h @ 1440:d7ec997de427
Adjust runtime for recent ABI change on x86-64, since member functions are no
longer equivalent to regular functions with `this` as their first argument.
(They weren't anyway, but it happened to work as long as there was no `sret`
parameter)
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 31 May 2009 14:27:01 +0200 |
parents | 46f6365a50d7 |
children |
line wrap: on
line source
#ifndef __LDC_IR_IRSYMBOL_H__ #define __LDC_IR_IRSYMBOL_H__ #include "ir/ir.h" /// Base class for all symbols. class IrSymbol { public: /// IrSymbol(Ir* ir) : ir(ir) {} /// Migrate symbols to current module if necessary. virtual void migrate() = 0; protected: /// Ir* ir; }; #endif