| Index: src/IceDefs.h
|
| diff --git a/src/IceDefs.h b/src/IceDefs.h
|
| index 25c384a01a35d79c6ebaafcf2fca6c156a666fcb..6c5cb1aad606f59738c03ed443e8c9097713d7c3 100644
|
| --- a/src/IceDefs.h
|
| +++ b/src/IceDefs.h
|
| @@ -35,16 +35,23 @@
|
| #include "llvm/Support/raw_ostream.h"
|
| #include "llvm/Support/Timer.h"
|
|
|
| +// Roll our own static_assert<> in the absence of C++11. TODO: change
|
| +// to static_assert<> with C++11.
|
| +template <bool> struct staticAssert;
|
| +template <> struct staticAssert<true> {}; // only true is defined
|
| +#define STATIC_ASSERT(x) staticAssert<(x)>()
|
| +
|
| namespace Ice {
|
|
|
| +class Cfg;
|
| class CfgNode;
|
| class Constant;
|
| class GlobalContext;
|
| -class Cfg;
|
| class Inst;
|
| class InstPhi;
|
| class InstTarget;
|
| class Operand;
|
| +class TargetLowering;
|
| class Variable;
|
|
|
| // TODO: Switch over to LLVM's ADT container classes.
|
|
|