On 28/05/2009 19:50, Y Giridhar Appaji Nag wrote:
Hi Jeremy,

On 09/05/03 18:50 +0200, Jeremy Lal said ...
Because compiling the tutorial code gives compiler errors,
whereas the online tutorial code does not.

Is this the same as bug #501666?  If not, what errors do you get?

Cheers,

Giridhar

It is not the same as #501666,
the problem is about the code that is shown in the tutorial documentation,
which is not up to date with upstream tutorial doc :
http://llvm.org/docs/tutorial/JITTutorial1.html
http://localhost/cgi-bin/dwww/usr/share/doc/llvm-doc/html/tutorial/JITTutorial1.html

a diff shows :
<   PM.add(createPrintModulePass(&amp;outs()));
---
  PM.add(new PrintModulePass(&amp;llvm::cout));
157c156
<   IRBuilder&lt;&gt; builder(block);
---
  IRBuilder builder(block);

Regards,
Jérémy Lal





--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to