aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineConstantPool.h
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-11-05 19:31:28 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-11-05 19:31:28 +0000
commitd41b30def3181bce4bf87e8bde664d15663165d0 (patch)
treeb4a9c4e0797b23f78257e4cb0f74fde8ec183b2e /include/llvm/CodeGen/MachineConstantPool.h
parentbcf81242df7983b8e86bec179c4fa04265b26db2 (diff)
Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineConstantPool.h')
-rw-r--r--include/llvm/CodeGen/MachineConstantPool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineConstantPool.h b/include/llvm/CodeGen/MachineConstantPool.h
index 17ddcf1823..f45c8a7a8d 100644
--- a/include/llvm/CodeGen/MachineConstantPool.h
+++ b/include/llvm/CodeGen/MachineConstantPool.h
@@ -61,7 +61,8 @@ inline std::ostream &operator<<(std::ostream &OS,
/// It contains a pointer to the value and an offset from the start of
/// the constant pool.
/// @brief An entry in a MachineConstantPool
-struct MachineConstantPoolEntry {
+class MachineConstantPoolEntry {
+public:
/// The constant itself.
union {
Constant *ConstVal;