diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 122420c1a1a..c8dc8ab08da 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -41,7 +41,7 @@ Method *MallocMeth = 0, *FreeMeth = 0; static void InsertMallocFreeDecls(Module *M) { const MethodType *MallocType = MethodType::get(PointerType::get(Type::UByteTy), - vector(1, Type::UIntTy)); + vector(1, Type::UIntTy), false); SymbolTable *SymTab = M->getSymbolTableSure(); @@ -54,7 +54,8 @@ static void InsertMallocFreeDecls(Module *M) { const MethodType *FreeType = MethodType::get(Type::VoidTy, - vector(1, PointerType::get(Type::UByteTy))); + vector(1, PointerType::get(Type::UByteTy)), + false); // Check for a definition of free if (Value *V = SymTab->lookup(PointerType::get(FreeType), "free")) {