[llvm] r225320 - Kaleidoscope: Value => Metadata

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Jan 6 15:48:22 PST 2015


Author: dexonsmith
Date: Tue Jan  6 17:48:22 2015
New Revision: 225320

URL: http://llvm.org/viewvc/llvm-project?rev=225320&view=rev
Log:
Kaleidoscope: Value => Metadata

Modified:
    llvm/trunk/examples/Kaleidoscope/Chapter8/toy.cpp

Modified: llvm/trunk/examples/Kaleidoscope/Chapter8/toy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/Chapter8/toy.cpp?rev=225320&r1=225319&r2=225320&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/Chapter8/toy.cpp (original)
+++ llvm/trunk/examples/Kaleidoscope/Chapter8/toy.cpp Tue Jan  6 17:48:22 2015
@@ -836,7 +836,7 @@ void DebugInfo::emitLocation(ExprAST *AS
 }
 
 static DICompositeType CreateFunctionType(unsigned NumArgs, DIFile Unit) {
-  SmallVector<Value *, 8> EltTys;
+  SmallVector<Metadata *, 8> EltTys;
   DIType DblTy = KSDbgInfo.getDoubleTy();
 
   // Add the result type.





More information about the llvm-commits mailing list