diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 18:44:06 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 18:44:06 +0000 |
| commit | 60635e39b669713fe8d7b40bf8b4b10fb7fb34d6 (patch) | |
| tree | a0a124c763e644d915844e862e6216375674137f /llvm/lib/Transforms/Scalar/SampleProfile.cpp | |
| parent | dadc2b627d834acda6def76209db2c2001a079a9 (diff) | |
| download | bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.tar.gz bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.zip | |
DebugInfo: Drop rest of DIDescriptor subclasses
Delete the remaining subclasses of (the already deleted) `DIDescriptor`.
Part of PR23080.
llvm-svn: 235404
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SampleProfile.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/SampleProfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SampleProfile.cpp b/llvm/lib/Transforms/Scalar/SampleProfile.cpp index f99fe3f5512..f4936b57062 100644 --- a/llvm/lib/Transforms/Scalar/SampleProfile.cpp +++ b/llvm/lib/Transforms/Scalar/SampleProfile.cpp @@ -224,7 +224,7 @@ unsigned SampleProfileLoader::getInstWeight(Instruction &Inst) { if (Lineno < HeaderLineno) return 0; - DILocation DIL = DLoc.get(); + const MDLocation *DIL = DLoc; int LOffset = Lineno - HeaderLineno; unsigned Discriminator = DIL->getDiscriminator(); unsigned Weight = Samples->samplesAt(LOffset, Discriminator); |

