mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
Fixed default ctor for APInt to properly initialize BitWidth to a
non-random value. llvm-svn: 43795
This commit is contained in:
parent
a863789700
commit
7c8260f21b
@ -207,7 +207,7 @@ public:
|
||||
|
||||
/// Default constructor that creates an uninitialized APInt. This is useful
|
||||
/// for object deserialization (pair this with the static method Read).
|
||||
explicit APInt() {}
|
||||
explicit APInt() : BitWidth(1) {}
|
||||
|
||||
/// @brief Used by the Bitcode serializer to emit APInts to Bitcode.
|
||||
void Emit(Serializer& S) const;
|
||||
|
Loading…
Reference in New Issue
Block a user