mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
Make sure SDDbgValue.Invalid is initialized to false by all the constructors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
589ad5d8c2
commit
c388ace6f9
@ -60,14 +60,14 @@ public:
|
||||
|
||||
// Constructor for constants.
|
||||
SDDbgValue(MDNode *mdP, Value *C, uint64_t off, DebugLoc dl, unsigned O) :
|
||||
mdPtr(mdP), Offset(off), DL(dl), Order(O) {
|
||||
mdPtr(mdP), Offset(off), DL(dl), Order(O), Invalid(false) {
|
||||
kind = CONST;
|
||||
u.Const = C;
|
||||
}
|
||||
|
||||
// Constructor for frame indices.
|
||||
SDDbgValue(MDNode *mdP, unsigned FI, uint64_t off, DebugLoc dl, unsigned O) :
|
||||
mdPtr(mdP), Offset(off), DL(dl), Order(O) {
|
||||
mdPtr(mdP), Offset(off), DL(dl), Order(O), Invalid(false) {
|
||||
kind = FRAMEIX;
|
||||
u.FrameIx = FI;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user