summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/SymbolTableListTraitsImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/SymbolTableListTraitsImpl.h')
-rw-r--r--llvm/lib/IR/SymbolTableListTraitsImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/SymbolTableListTraitsImpl.h b/llvm/lib/IR/SymbolTableListTraitsImpl.h
index 10cb76ed31d..8eba24f8300 100644
--- a/llvm/lib/IR/SymbolTableListTraitsImpl.h
+++ b/llvm/lib/IR/SymbolTableListTraitsImpl.h
@@ -41,7 +41,7 @@ void SymbolTableListTraits<ValueSubClass,ItemParentClass>
if (OldST == NewST) return;
// Move all the elements from the old symtab to the new one.
- iplist<ValueSubClass> &ItemList = TraitsClass::getList(getListOwner());
+ iplist<ValueSubClass> &ItemList = getList(getListOwner());
if (ItemList.empty()) return;
if (OldST) {
OpenPOWER on IntegriCloud