diff options
| author | Dehao Chen <dehao@google.com> | 2016-02-29 18:59:48 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2016-02-29 18:59:48 +0000 |
| commit | 939993ff2fe38eca498b0806b22a35412222a0eb (patch) | |
| tree | a5a4778aee089d09bd035f4b520f2b25a3dd2885 /llvm/include | |
| parent | 522b5cb3753f39ceb021ab2511c54d7163940b06 (diff) | |
| download | bcm5719-llvm-939993ff2fe38eca498b0806b22a35412222a0eb.tar.gz bcm5719-llvm-939993ff2fe38eca498b0806b22a35412222a0eb.zip | |
Move discriminator assignment to the right place.
Summary: Now discriminator is assigned per-function instead of per-module.
Reviewers: davidxl, dnovillo
Subscribers: dblaikie, llvm-commits
Differential Revision: http://reviews.llvm.org/D17664
llvm-svn: 262240
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/IR/DebugInfoMetadata.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/include/llvm/IR/DebugInfoMetadata.h b/llvm/include/llvm/IR/DebugInfoMetadata.h index 456313a70e8..2c031a5aeba 100644 --- a/llvm/include/llvm/IR/DebugInfoMetadata.h +++ b/llvm/include/llvm/IR/DebugInfoMetadata.h @@ -1192,15 +1192,6 @@ public: /// instructions that are on different basic blocks. inline unsigned getDiscriminator() const; - /// \brief Compute new discriminator in the given context. - /// - /// This modifies the \a LLVMContext that \c this is in to increment the next - /// discriminator for \c this's line/filename combination. - /// - /// FIXME: Delete this. See comments in implementation and at the only call - /// site in \a AddDiscriminators::runOnFunction(). - unsigned computeNewDiscriminator() const; - Metadata *getRawScope() const { return getOperand(0); } Metadata *getRawInlinedAt() const { if (getNumOperands() == 2) |

