projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use Function's arg_size() and size() methods.
[oota-llvm.git]
/
include
/
llvm
/
Bitcode
/
Deserialize.h
diff --git
a/include/llvm/Bitcode/Deserialize.h
b/include/llvm/Bitcode/Deserialize.h
index 6e20434e6c7d13a95839797aa14134d1778beacd..8c9ea89d15225817f73fd14b3bbeee0262be7262 100644
(file)
--- a/
include/llvm/Bitcode/Deserialize.h
+++ b/
include/llvm/Bitcode/Deserialize.h
@@
-436,7
+436,7
@@
public:
}
template <typename T>
- T* ReadPtr() { T* x; ReadPtr<T>(x,false); return x; }
+ T* ReadPtr() { T* x
= 0
; ReadPtr<T>(x,false); return x; }
void ReadUIntPtr(uintptr_t& PtrRef, const SerializedPtrID& PtrID,
bool AllowBackpatch = true);