When I try to print out a instruction by the following way, I am getting the error message below.<br>Anyone knows what's the problem?<br><br>Instruction* inst;<br>...<br>inst-print(cerr);<br><br>testbuild.cpp:178: error: no matching function for call to 'llvm::Instruction::print(llvm::OStream&)'<br>
/x/pchsu/llvm/llvm-2.4/include/llvm/Value.h:83: note: candidates are: void llvm::Value::print(std::ostream&, llvm::AssemblyAnnotationWriter*) const<br>/x/pchsu/llvm/llvm-2.4/include/llvm/Value.h:84: note: void llvm::Value::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*) const<br>
<br>Po-Chun<br>