X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FCodeGen%2FMachineConstantPool.h;h=ba491ce2556cdefe28eb368db4ea4a22d83a54d0;hb=5eca075b74d62c621b160aa216b4cd50829a2cc7;hp=1500053a125d3d9992aa28c6faaaaa6a31a0a642;hpb=423c2260f95883f7c84ac962e58ac66c3a11efac;p=oota-llvm.git diff --git a/include/llvm/CodeGen/MachineConstantPool.h b/include/llvm/CodeGen/MachineConstantPool.h index 1500053a125..ba491ce2556 100644 --- a/include/llvm/CodeGen/MachineConstantPool.h +++ b/include/llvm/CodeGen/MachineConstantPool.h @@ -2,8 +2,8 @@ // // The LLVM Compiler Infrastructure // -// This file was developed by the LLVM research group and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -16,8 +16,8 @@ #define LLVM_CODEGEN_MACHINECONSTANTPOOL_H #include "llvm/ADT/FoldingSet.h" -#include "llvm/CodeGen/SelectionDAGNodes.h" #include "llvm/Support/Streams.h" +#include #include #include @@ -27,6 +27,7 @@ class AsmPrinter; class Constant; class TargetData; class TargetMachine; +class Type; class MachineConstantPool; /// Abstract base class for all machine specific constantpool value subclasses. @@ -36,7 +37,7 @@ class MachineConstantPoolValue { public: explicit MachineConstantPoolValue(const Type *ty) : Ty(ty) {} - virtual ~MachineConstantPoolValue() {}; + virtual ~MachineConstantPoolValue() {} /// getType - get type of this MachineConstantPoolValue. /// @@ -114,7 +115,8 @@ class MachineConstantPool { std::vector Constants; ///< The pool of constants. public: /// @brief The only constructor. - MachineConstantPool(const TargetData *td) : TD(td), PoolAlignment(1) {} + explicit MachineConstantPool(const TargetData *td) + : TD(td), PoolAlignment(1) {} ~MachineConstantPool(); /// getConstantPoolAlignment - Return the log2 of the alignment required by