commit | 2dbdb0ea777a13c6fa8e9fe708e728a84752c20a | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Sat Feb 07 19:59:05 2009 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Sat Feb 07 19:59:05 2009 +0000 |
tree | 27915fd87b7bb9ec3f8ec281c5bc259ea8825594 | |
parent | 10b01ea148e74e3e5866841ec56980c91671e15b [diff] [blame] |
Use getDebugLoc forwarder instead of getNode()->getDebugLoc. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64026 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index cd4fa25..d700892 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -761,7 +761,7 @@ assert(Op.getValueSizeInBits() == BitWidth && "Mask size mismatches value type size!"); APInt NewMask = DemandedMask; - DebugLoc dl = Op.getNode()->getDebugLoc(); + DebugLoc dl = Op.getDebugLoc(); // Don't know anything. KnownZero = KnownOne = APInt(BitWidth, 0);