summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Float2Int/float2int-optnone.ll
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-09-19 13:51:50 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-09-19 13:51:50 +0000
commit3c3602aefa5909291ce5e32a43b2effb08e4053a (patch)
treeaaea007af3ee7bbe078f54b485a6fef21b4c5a0d /llvm/test/Transforms/Float2Int/float2int-optnone.ll
parented69faa01bfff02c61e318ef4bfc4112fa87b1a0 (diff)
downloadbcm5719-llvm-3c3602aefa5909291ce5e32a43b2effb08e4053a.tar.gz
bcm5719-llvm-3c3602aefa5909291ce5e32a43b2effb08e4053a.zip
Remove an unsafe member variable that wasn't needed; NFC.
People use the AST dumping interface while debugging, so it's not safe to assume that a declaration will be dumped before a constant expression is dumped. This means the Context member may not get set properly and problems would happen. Rather than rely on the interface that requires the ASTContext, call the generic dump() interface instead; this allows us to remove the Context member variable. llvm-svn: 372323
Diffstat (limited to 'llvm/test/Transforms/Float2Int/float2int-optnone.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud