diff options
| author | Daniel Berlin <dberlin@dberlin.org> | 2016-10-22 04:15:41 +0000 |
|---|---|---|
| committer | Daniel Berlin <dberlin@dberlin.org> | 2016-10-22 04:15:41 +0000 |
| commit | f5361139bb943c4a87e59261c4ab91fdfae279fc (patch) | |
| tree | 1f74fa3c173ec6f57c622a5ef36d9b5a16cb61cb /llvm/lib | |
| parent | 65f102d4d2c7886cec0336d578af3c634a2147c1 (diff) | |
| download | bcm5719-llvm-f5361139bb943c4a87e59261c4ab91fdfae279fc.tar.gz bcm5719-llvm-f5361139bb943c4a87e59261c4ab91fdfae279fc.zip | |
Now that VS2013 is gone, make a memoryssa structure an anonymous union again
llvm-svn: 284910
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Utils/MemorySSA.cpp | 8 |
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; + }; }; } |

