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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/MemorySSA.cpp b/llvm/lib/Transforms/Utils/MemorySSA.cpp
index 5c3ca7567bb..5eb0453317c 100644
--- a/llvm/lib/Transforms/Utils/MemorySSA.cpp
+++ b/llvm/lib/Transforms/Utils/MemorySSA.cpp
@@ -144,10 +144,10 @@ public:
}
private:
- // 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;
+ union {
+ ImmutableCallSite CS;
+ MemoryLocation Loc;
+ };
};
}
OpenPOWER on IntegriCloud