Kaleidoscope: Value => Metadata
llvm-svn: 225320
diff --git a/llvm/examples/Kaleidoscope/Chapter8/toy.cpp b/llvm/examples/Kaleidoscope/Chapter8/toy.cpp
index eaa07ee..961a0f8 100644
--- a/llvm/examples/Kaleidoscope/Chapter8/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter8/toy.cpp
@@ -836,7 +836,7 @@
}
static DICompositeType CreateFunctionType(unsigned NumArgs, DIFile Unit) {
- SmallVector<Value *, 8> EltTys;
+ SmallVector<Metadata *, 8> EltTys;
DIType DblTy = KSDbgInfo.getDoubleTy();
// Add the result type.