[llvm-commits] [llvm] r139581 - in /llvm/trunk/lib/CodeGen: LiveRangeCalc.cpp LiveRangeCalc.h
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue Sep 13 08:51:01 PDT 2011
On Sep 12, 2011, at 8:58 PM, NAKAMURA Takumi wrote:
> Author: chapuni
> Date: Mon Sep 12 22:58:34 2011
> New Revision: 139581
>
> URL: http://llvm.org/viewvc/llvm-project?rev=139581&view=rev
> Log:
> Unbreak msvc.
>
> Modified:
> llvm/trunk/lib/CodeGen/LiveRangeCalc.cpp
> llvm/trunk/lib/CodeGen/LiveRangeCalc.h
>
> Modified: llvm/trunk/lib/CodeGen/LiveRangeCalc.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveRangeCalc.cpp?rev=139581&r1=139580&r2=139581&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/LiveRangeCalc.cpp (original)
> +++ llvm/trunk/lib/CodeGen/LiveRangeCalc.cpp Mon Sep 12 22:58:34 2011
> @@ -47,7 +47,7 @@
> // The value is live-through, update LiveOut as well. Defer the Domtree
> // lookup until it is needed.
> assert(Seen.test(MBB->getNumber()));
> - LiveOut[MBB] = LiveOutPair(VNI, 0);
> + LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
Thanks, Takumi.
Do you know if NULL would work too?
/jakob
More information about the llvm-commits
mailing list