Kaleidoscope: Value => Metadata
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 6 Jan 2015 23:48:22 +0000 (23:48 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 6 Jan 2015 23:48:22 +0000 (23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225320 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Kaleidoscope/Chapter8/toy.cpp

index eaa07ee93f4a926c66f663f049a496c8691b0a3c..961a0f89cac0bec1645193aa795301d1ca29743e 100644 (file)
@@ -836,7 +836,7 @@ void DebugInfo::emitLocation(ExprAST *AST) {
 }
 
 static DICompositeType CreateFunctionType(unsigned NumArgs, DIFile Unit) {
-  SmallVector<Value *, 8> EltTys;
+  SmallVector<Metadata *, 8> EltTys;
   DIType DblTy = KSDbgInfo.getDoubleTy();
 
   // Add the result type.