Unbreak the MSVC 2010 build.
authorFrancois Pichet <pichet2000@gmail.com>
Sat, 16 Apr 2011 14:20:39 +0000 (14:20 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Sat, 16 Apr 2011 14:20:39 +0000 (14:20 +0000)
For further information on this particular issue see: http://connect.microsoft.com/VisualStudio/feedback/details/520043/error-converting-from-null-to-a-pointer-type-in-std-pair

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129642 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SplitKit.cpp

index adc0a04ea64c0e332adf0ede7f08fee1a6b756be..9aadf6184b8855c7aa6df5a0233b27234b16e1a1 100644 (file)
@@ -816,7 +816,8 @@ bool SplitEditor::transferValues() {
           else {
             // Live-out, but we need updateSSA to tell us the value.
             LiveOutSeen.set(MBB->getNumber());
-            LiveOutCache[MBB] = LiveOutPair(0, 0);
+            LiveOutCache[MBB] = LiveOutPair((VNInfo*)0,
+                                            (MachineDomTreeNode*)0);
           }
         }
         BlockStart = BlockEnd;