From cbc5f407eff618225a2fd4363f67d660607e6c2d Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Sat, 16 Apr 2011 14:20:39 +0000 Subject: Unbreak the MSVC 2010 build. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/CodeGen/SplitKit.cpp') diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index adc0a04ea6..9aadf6184b 100644 --- a/lib/CodeGen/SplitKit.cpp +++ b/lib/CodeGen/SplitKit.cpp @@ -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; -- cgit v1.2.3