From 0f214ebe5a85c133c83f81d7591f17dcb3fa83ab Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 18 Jun 2011 21:18:23 +0000 Subject: eliminate the Type::getDescription() method, using "<<" instead. This removes some gunk from LLVMContext. llvm-svn: 133360 --- llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp') diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index 062256a2ac7..fe1f7fc9380 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -282,10 +282,10 @@ GenericValue Interpreter::callExternalFunction(Function *F, if (F->getName() == "__main") errs() << "Tried to execute an unknown external function: " - << F->getType()->getDescription() << " __main\n"; + << *F->getType() << " __main\n"; else report_fatal_error("Tried to execute an unknown external function: " + - F->getType()->getDescription() + " " +F->getName()); + F->getName()); #ifndef USE_LIBFFI errs() << "Recompiling LLVM with --enable-libffi might help.\n"; #endif -- cgit v1.2.3