summaryrefslogtreecommitdiffstats
path: root/clang/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
commit0f4cc3f7280071f1b6b43dbc49bf3775020e33d3 (patch)
tree8c6b1124cab80d48a125b7e2a972ef0b3aa24a95 /clang/lib/Basic/IdentifierTable.cpp
parentcaf534cfcfba13350270c495dc121781f1e531c1 (diff)
downloadbcm5719-llvm-0f4cc3f7280071f1b6b43dbc49bf3775020e33d3.tar.gz
bcm5719-llvm-0f4cc3f7280071f1b6b43dbc49bf3775020e33d3.zip
Fix a little typo that was killing de-serialization
llvm-svn: 68354
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r--clang/lib/Basic/IdentifierTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index f4acbec0199..c002b3f1107 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/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());
}
OpenPOWER on IntegriCloud