aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86ISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-02-07 19:59:05 +0000
committerDale Johannesen <dalej@apple.com>2009-02-07 19:59:05 +0000
commit6f38cb61a94b3abab70f0ee463bdcf55d86d334e (patch)
tree27915fd87b7bb9ec3f8ec281c5bc259ea8825594 /lib/Target/X86/X86ISelDAGToDAG.cpp
parenta56c037ce1c7526aab5c6669dd91f1f28c5eaed3 (diff)
downloadexternal_llvm-6f38cb61a94b3abab70f0ee463bdcf55d86d334e.tar.gz
external_llvm-6f38cb61a94b3abab70f0ee463bdcf55d86d334e.tar.bz2
external_llvm-6f38cb61a94b3abab70f0ee463bdcf55d86d334e.zip
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
Diffstat (limited to 'lib/Target/X86/X86ISelDAGToDAG.cpp')
-rw-r--r--lib/Target/X86/X86ISelDAGToDAG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp
index ed6c356963..951742835b 100644
--- a/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -736,7 +736,7 @@ void X86DAGToDAGISel::EmitFunctionEntryCode(Function &Fn, MachineFunction &MF) {
bool X86DAGToDAGISel::MatchAddress(SDValue N, X86ISelAddressMode &AM,
bool isRoot, unsigned Depth) {
bool is64Bit = Subtarget->is64Bit();
- DebugLoc dl = N.getNode()->getDebugLoc();
+ DebugLoc dl = N.getDebugLoc();
DOUT << "MatchAddress: "; DEBUG(AM.dump());
// Limit recursion.
if (Depth > 5)
@@ -1173,7 +1173,7 @@ SDNode *X86DAGToDAGISel::getTruncateTo8Bit(SDValue N0) {
assert(!Subtarget->is64Bit() &&
"getTruncateTo8Bit is only needed on x86-32!");
SDValue SRIdx = CurDAG->getTargetConstant(1, MVT::i32); // SubRegSet 1
- DebugLoc dl = N0.getNode()->getDebugLoc();
+ DebugLoc dl = N0.getDebugLoc();
// Ensure that the source register has an 8-bit subreg on 32-bit targets
unsigned Opc;