aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-03 00:25:09 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-03 00:25:09 +0000
commit2b63fbc9bf79e98e824cd9a6d5104242756dc6b7 (patch)
treeefea2801ff2a14651009c43a8cc4e35bab664e4c /lib/Basic/IdentifierTable.cpp
parent81048aa3e5cbce181a850e2b2a8e266e4386347a (diff)
Fix a little typo that was killing de-serialization
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/IdentifierTable.cpp')
-rw-r--r--lib/Basic/IdentifierTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/IdentifierTable.cpp b/lib/Basic/IdentifierTable.cpp
index f4acbec019..c002b3f110 100644
--- a/lib/Basic/IdentifierTable.cpp
+++ b/lib/Basic/IdentifierTable.cpp
@@ -481,7 +481,7 @@ IdentifierTable* IdentifierTable::CreateAndRegister(llvm::Deserializer& D) {
IdentifierInfo *II = &t->get(&buff[0], &buff[0] + buff.size());
II->Read(D);
- if (InfoPtrID) D.RegisterRef(InfoPtrID, II);
+ if (InfoPtrID) D.RegisterPtr(InfoPtrID, II);
if (KeyPtrID) D.RegisterPtr(KeyPtrID, II->getName());
}