aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGNodes.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-01-27 23:32:10 +0000
committerDale Johannesen <dalej@apple.com>2009-01-27 23:32:10 +0000
commitab160cf371d6148d49b5401a903dd4ce381b2f8c (patch)
tree10edfbebe80fe51d562d789dbfbabfd296014047 /include/llvm/CodeGen/SelectionDAGNodes.h
parent7009d24e8157dbe3689f7f44b64cedf6e1371b84 (diff)
Embalm my ideas of how things should work. Not that
anyone will pay attention. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 3aa3f5ce05..c22b90ceed 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -1154,7 +1154,8 @@ public:
/// getDebugLoc - Return the source location info.
const DebugLoc getDebugLoc() const { return debugLoc; }
- /// setDebugLoc - Set source location info.
+ /// setDebugLoc - Set source location info. Try to avoid this, putting
+ /// it in the constructor is preferable.
void setDebugLoc(const DebugLoc dl) { debugLoc = dl; }
/// use_iterator - This class provides iterator support for SDUse