DIBuilder: Stop abusing DIExpressionIterator::operator*(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 22 Jan 2015 03:13:35 +0000 (03:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 22 Jan 2015 03:13:35 +0000 (03:13 +0000)
commitcc19b2fb2e18a1f7b750f658f8b74f8e9fba817a
treebc0dd0c7734f1482985dfc822806d262966685e9
parenteaa29e9019ea90e03d079214b23d5288a59b6c6c
DIBuilder: Stop abusing DIExpressionIterator::operator*(), NFC

This code was confusing, since it created a `DIExpressionIterator` from
an invalid start point (although it wasn't wrong: it never actually
iterated).  Now that the underlying iterator has `getNumber()`, just use
it directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226773 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h