Add an assert that we have a scope that matters for methods
authorEric Christopher <echristo@gmail.com>
Tue, 15 Oct 2013 23:31:36 +0000 (23:31 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 15 Oct 2013 23:31:36 +0000 (23:31 +0000)
commit4159733c1a9a6f4aea6ea4d558ca4806a3f959d2
treeb675d616bb766ffd11477da9ea8449685328f2d6
parentff64b7d7e36b55ecb3cce38f08f60fce7892b269
Add an assert that we have a scope that matters for methods
and remove a call to getNonCompileUnitScope as a method
shouldn't be in the compile unit scope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192748 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DIBuilder.cpp