summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-03-25 05:50:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-03-25 05:50:26 +0000
commit7f0b16a206bcaf012ed60aa4ce762f1af2c68ca1 (patch)
treea51c3d1794f36f917f5160028f985abde942c7d6 /llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
parent23bf99a97c429fc36b6731c89e773aadd9f89029 (diff)
downloadbcm5719-llvm-7f0b16a206bcaf012ed60aa4ce762f1af2c68ca1.tar.gz
bcm5719-llvm-7f0b16a206bcaf012ed60aa4ce762f1af2c68ca1.zip
Make sure SDDbgValue.Invalid is initialized to false by all the constructors.
llvm-svn: 99487
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h b/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
index eaa04abe08a..7638ea2ae16 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
@@ -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;
}
OpenPOWER on IntegriCloud