diff options
-rw-r--r-- | include/llvm/ADT/ImmutableList.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/ADT/ImmutableList.h b/include/llvm/ADT/ImmutableList.h index baf86da..21b07e7 100644 --- a/include/llvm/ADT/ImmutableList.h +++ b/include/llvm/ADT/ImmutableList.h @@ -123,6 +123,10 @@ public: ImmutableList getTail() { return X ? X->getTail() : 0; } + + void Profile(FoldingSetNodeID& ID) const { + ID.AddPointer(X); + } }; template <typename T> |