view ir/irsymbol.h @ 1414:303e6422f785

Fix regression dstress.nocompile.finally_07. The EnclosingTryFinally handler should not be set when emitting the landing pad's finally code.
author Christian Kamm <kamm incasoftware de>
date Sat, 23 May 2009 09:02:36 +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