mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fixed default ctor for APInt to properly initialize BitWidth to a
non-random value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43795 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
483ec21d90
commit
586504d5ed
@ -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