Fix build with LLVM 3.0

This commit is contained in:
Matt Pharr
2012-04-25 14:27:33 -10:00
parent 0baa2b484d
commit da690acce5
2 changed files with 6 additions and 1 deletions

View File

@@ -330,7 +330,10 @@ FunctionEmitContext::FunctionEmitContext(Function *func, Symbol *funSym,
mangledName, diFile,
firstLine, diSubprogramType,
isStatic, true, /* is defn */
firstLine, flags,
#ifndef LLVM_3_0
firstLine,
#endif // !LLVM_3_0
flags,
isOptimized, llvmFunction);
Assert(diSubprogram.Verify());