summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-18 21:18:23 +0000
committerChris Lattner <sabre@nondot.org>2011-06-18 21:18:23 +0000
commit0f214ebe5a85c133c83f81d7591f17dcb3fa83ab (patch)
tree7e5419ce20444b5ef1c72581fc81fd5e19d3f79c /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parent8a05de55383cb2ce3635438aff47d5dfae73aba3 (diff)
downloadbcm5719-llvm-0f214ebe5a85c133c83f81d7591f17dcb3fa83ab.tar.gz
bcm5719-llvm-0f214ebe5a85c133c83f81d7591f17dcb3fa83ab.zip
eliminate the Type::getDescription() method, using "<<" instead. This
removes some gunk from LLVMContext. llvm-svn: 133360
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud