diff options
author | evancheng <evancheng@91177308-0d34-0410-b5e6-96231b3b80d8> | 2009-01-27 21:15:07 +0000 |
---|---|---|
committer | evancheng <evancheng@91177308-0d34-0410-b5e6-96231b3b80d8> | 2009-01-27 21:15:07 +0000 |
commit | c611f1d881c25889d6343c0bd41ea73a5157ae66 (patch) | |
tree | 61bcbb8c4220806701cd15e0a356df90b78337b0 /include/llvm/CodeGen/MachineFunction.h | |
parent | 51bef2e7f3b8bd4bafc8b4e4e6d42d0b2ede47ee (diff) | |
download | external_llvm-c611f1d881c25889d6343c0bd41ea73a5157ae66.tar.gz external_llvm-c611f1d881c25889d6343c0bd41ea73a5157ae66.tar.bz2 external_llvm-c611f1d881c25889d6343c0bd41ea73a5157ae66.zip |
Refine DebugLoc per review comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 4fa70fca6f..0d5a71d142 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -311,10 +311,10 @@ public: // Debug location. // - /// lookUpDebugLocId - Look up the DebugLocTuple index with the given - /// source file, line, and column. It may add a new filename and / or - /// a new DebugLocTuple. - unsigned lookUpDebugLocId(unsigned Src, unsigned Line, unsigned Col); + /// getOrCreateDebugLocID - Look up the DebugLocTuple index with the given + /// source file, line, and column. If none currently exists, create add a new + /// new DebugLocTuple and insert it into the DebugIdMap. + unsigned getOrCreateDebugLocID(unsigned Src, unsigned Line, unsigned Col); }; //===--------------------------------------------------------------------===// |