[llvm-commits] [llvm] r139581 - in /llvm/trunk/lib/CodeGen: LiveRangeCalc.cpp LiveRangeCalc.h
NAKAMURA Takumi
geek4civic at gmail.com
Tue Sep 13 02:29:26 PDT 2011
2011/9/13 David Blaikie <dblaikie at gmail.com>:
>> + LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
>
> That's kind of strange - why's the cast necessary here? (what error do you
> get on MSVC)
It was "error C2439" and "C2440".
Ask to google, "C2440 std::pair null".
It might be happier if DataTypes.h would provide "nullptr"...
...Takumi
More information about the llvm-commits
mailing list