summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Utils/MemorySSA.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/MemorySSA.cpp b/llvm/lib/Transforms/Utils/MemorySSA.cpp
index 241c9ddbbba..bbb98aef772 100644
--- a/llvm/lib/Transforms/Utils/MemorySSA.cpp
+++ b/llvm/lib/Transforms/Utils/MemorySSA.cpp
@@ -1118,10 +1118,10 @@ public:
}
private:
- union {
+ // FIXME: MSVC 2013 does not properly implement C++11 union rules, once we
+ // require newer versions, this should be made an anonymous union again.
ImmutableCallSite CS;
MemoryLocation Loc;
- };
};
template <> struct DenseMapInfo<MemoryLocOrCall> {
OpenPOWER on IntegriCloud