Index: src/IceDefs.h |
diff --git a/src/IceDefs.h b/src/IceDefs.h |
index 68f30c7309365507d040133055193e23317abf69..56f0bcc364a2d925e227bce9047e94b0f8d7ad8c 100644 |
--- a/src/IceDefs.h |
+++ b/src/IceDefs.h |
@@ -33,16 +33,9 @@ |
#include "llvm/ADT/SmallBitVector.h" |
#include "llvm/ADT/STLExtras.h" |
#include "llvm/Support/Casting.h" |
-#include "llvm/Support/Compiler.h" // LLVM_STATIC_ASSERT |
#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; |