Yet another MSVC fix

Please commit...

Best
Olaf Krzikalla

twine.patch (301 Bytes)

Olaf Krzikalla writes:

Please commit...

Best
Olaf Krzikalla

Thanks, applied here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090727/082877.html

Sorry, I was too fast. There is more...
But now all compiles fine. However I'm not very satisfied with the Constants.patch since I don't know for 100% sure what's going on. OK, I know that MSVC tries to instantiate the virtual member function FoldingSet<MDNode>::GetNodeProfile where gcc seems to be more relaxed on the instantiation of template functions. But I have no idea whether gcc or msvc is right at this point.

Best

MCAsmLexer.patch (318 Bytes)

Constants.patch (372 Bytes)

Hi Olaf,

I applied the MCAsmWriter fix, thanks. I also am not sure about
Constants so I am going to leave that to someone else.

- Daniel