diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-18 21:18:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-18 21:18:23 +0000 |
commit | 0cd0d881604775f3f97048645f040b2ef4f61e4b (patch) | |
tree | 3340f491b6eefaabc97dc41d3287b6c38fcaa474 /lib/ExecutionEngine/Interpreter | |
parent | 70d0ff1a977273c925fea03070cf33c4a6cbd2cf (diff) |
eliminate the Type::getDescription() method, using "<<" instead. This
removes some gunk from LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index 062256a2ac..fe1f7fc938 100644 --- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/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 |