Fix getFieldAs() to use the parameter instead of 6.
authorTorok Edwin <edwintorok@gmail.com>
Sat, 13 Dec 2008 08:25:29 +0000 (08:25 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Sat, 13 Dec 2008 08:25:29 +0000 (08:25 +0000)
commitb07fbd9bdde37ebd404e8b8dc167795728f162e1
tree602badfb6228648e70e2e6cc712413530577ee2d
parentc5d64607c96d9237f55988736e6ba7cc6a3d0a67
Fix getFieldAs() to use the parameter instead of 6.
Add missing DIType constructor, needed by DIVariable::getType().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60976 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DebugInfo.h
lib/Analysis/DebugInfo.cpp