aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-06-14 13:01:16 +0000
committerPavel Labath <pavel@labath.sk>2019-06-14 13:01:16 +0000
commit6a2eb3671018993c316451884c530d6c208f0b80 (patch)
tree782b447bb938640a183c7e9fc9ef9da686c7ed97 /llvm/lib/CodeGen/MachineOperand.cpp
parent891cdaab7a2957238758ebf531f784a508ab9093 (diff)
downloadllvm-6a2eb3671018993c316451884c530d6c208f0b80.zip
llvm-6a2eb3671018993c316451884c530d6c208f0b80.tar.gz
llvm-6a2eb3671018993c316451884c530d6c208f0b80.tar.bz2
Have DWARFUnit store a *reference* to SymbolFileDWARF
Previously it was storing a *pointer*, which left open the possibility of this pointer being null. We never made use of that possibility (it does not make sense), and most of the code was already assuming that. However, there were a couple of null-checks scattered around the code. This patch replaces the reference with a pointer, making the non-null-ness explicit, and removes the remaining null-checks. llvm-svn: 363381
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions