[llvm-commits] [Patch] Fix Build for LiveInterval (forget include the datatype header)

Howard Su howard0su at gmail.com
Wed Jun 17 20:17:09 PDT 2009


Index: LiveInterval.h
===================================================================
--- LiveInterval.h (revision 73673)
+++ LiveInterval.h (working copy)
@@ -21,6 +21,7 @@
 #ifndef LLVM_CODEGEN_LIVEINTERVAL_H
 #define LLVM_CODEGEN_LIVEINTERVAL_H

+#include "llvm/Support/DataTypes.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Support/Allocator.h"
 #include <iosfwd>
@@ -51,7 +52,7 @@

   class VNInfo {
   private:
-    static const uint8_t HAS_PHI_KILL = 1,
+    static const uint8_t HAS_PHI_KILL = 1,
                          REDEF_BY_EC  = 1 << 1,
                          IS_PHI_DEF = 1 << 2,
                          IS_UNUSED = 1 << 3,


-- 
-Howard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090618/61128511/attachment.html>


More information about the llvm-commits mailing list