aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFunction.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-02-04 00:05:34 +0000
committerBill Wendling <isanbard@gmail.com>2009-02-04 00:05:34 +0000
commita929c68bfcbe840bd26d336efaa80a6a275e802c (patch)
tree16f02c99ef201dfaf998b9b4c24f38cc6f5f13f6 /include/llvm/CodeGen/MachineFunction.h
parent65085cf7b3470b7b087f5fd7b0497879b90b32ba (diff)
Constify and don't return a reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index b1536a8f75..a039e23399 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -318,7 +318,7 @@ public:
unsigned getOrCreateDebugLocID(unsigned Src, unsigned Line, unsigned Col);
/// getDebugLocTuple - Get the DebugLocTuple for a given DebugLoc object.
- const DebugLocTuple &getDebugLocTuple(DebugLoc DL);
+ DebugLocTuple getDebugLocTuple(DebugLoc DL) const;
};
//===--------------------------------------------------------------------===//