Hi Minas,<div><br></div><div>N3 is not highly maintained anymore, so you shouldn't care about treecc.</div><div><br></div><div>I have updated the EscapeAnalysis file, it should now build fine with the new LLVM API.</div>
<div><br></div><div>Cheers,</div><div>Nicolas<br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 5:09 AM, Minas Abrahamyan <span dir="ltr"><<a href="mailto:minas.subs@gmail.com">minas.subs@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br><br>I just tried to build VMkit, as it written on getting_started, all steps went OK<br>(except for broken link for treecc for pnet, which I found on GNU-savannah, by googling)<br>
<br>But now the very strange error:<br>
in vmkit/lib/Mvm/Compiler/EscapeAnalysis.cpp, line 99:<br><br><<<some make output skipped >><br>llvm[3]: Compiling EscapeAnalysis.cpp for Debug build<br>/home/mn/tests/VMkit/llvm/include/llvm/Instructions.h: In member function ‘virtual bool<unnamed>::EscapeAnalysis::runOnFunction(llvm::Function&)’:<br>

/home/mn/tests/VMkit/llvm/include/llvm/Instructions.h:1128: error: ‘llvm::Value* llvm::CallInst::getOperand(unsigned int) const’ is private<br>EscapeAnalysis.cpp:99: error: within this context<br>/home/mn/tests/VMkit/llvm/include/llvm/Instructions.h:1128: error: ‘llvm::Value* llvm::CallInst::getOperand(unsigned int) const’ is private<br>

EscapeAnalysis.cpp:99: error: within this context<br>make[3]: *** [/home/mn/tests/VMkit/vmkit/lib/Mvm/Compiler/Debug/EscapeAnalysis.o] Error 1<br>make[3]: Leaving directory `/home/mn/tests/VMkit/vmkit/lib/Mvm/Compiler'<br>

make[2]: *** [all] Error 1<br><<...>><br><br>Excerpt from EscapeAnalysis.cpp:<br><<<<br>        if (CallInst *CI = dyn_cast<CallInst>(I)) {<br>          Changed |= processMalloc(CI, CI->getOperand(1), CI->getOperand(2),<br>

                                   CurLoop);<br>        } else if (InvokeInst *CI = dyn_cast<InvokeInst>(I)) {<br>          Changed |= processMalloc(CI, CI->getOperand(3), CI->getOperand(4),<br>                                   CurLoop);<br>

        }<br>>>><br><br>These getOperand()-s are private, how it should now be built and work?<br><br>Has anybody built it?<br><font color="#888888"><br>-Minas Abrahamyan<br>
</font><br>_______________________________________________<br>
vmkit-commits mailing list<br>
<a href="mailto:vmkit-commits@cs.uiuc.edu">vmkit-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits</a><br>
<br></blockquote></div><br></div>