Added versions of ReadPtr that takes an explicit SerializedPtrID. This allows
authorTed Kremenek <kremenek@apple.com>
Mon, 12 Nov 2007 19:11:15 +0000 (19:11 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 12 Nov 2007 19:11:15 +0000 (19:11 +0000)
commit62724da93086e52f8b48fa4c4b06309db330b5c8
tree9a5bbdee71c10f85be217d6ac165e193880a3712
parent35e2dba67215045b1be2b890699788adfa939d05
Added versions of ReadPtr that takes an explicit SerializedPtrID.  This allows
clients of the Deserializer to read the pointer ID before they are ready
to deserialize the object (which can mean registering a pointer reference
with the backpatcher).

Changed some methods that took an argument "SerializedPtrID" to "const SerializedPtrID&" (pass-by-reference).  This is to accommodate a future
revision of SerializedPtrID where it may be much fatter than an unsigned
integer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44021 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/Deserialize.h
lib/Bitcode/Reader/Deserialize.cpp