mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user