summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-01 02:05:57 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-01 02:05:57 +0000
commit263070ea2bb7a14f6067c95a958b82a1cb44b939 (patch)
treea71a0dac7ae7f8f1982609886e08948d4743245b /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentb49fdfb5f0703b799d484576b8fad42b557dd3eb (diff)
downloadbcm5719-llvm-263070ea2bb7a14f6067c95a958b82a1cb44b939.tar.gz
bcm5719-llvm-263070ea2bb7a14f6067c95a958b82a1cb44b939.zip
Rename RecordLabel to RecordSourceLine because that's what it is doing.
llvm-svn: 46628
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineModuleInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index 12680a0e9c1..5edeefbfaec 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -1611,11 +1611,11 @@ MachineModuleInfo::getGlobalVariablesUsing(Module &M,
return ::getGlobalVariablesUsing(M, RootName);
}
-/// RecordLabel - Records location information and associates it with a
+/// RecordSourceLine - Records location information and associates it with a
/// debug label. Returns a unique label ID used to generate a label and
/// provide correspondence to the source line list.
-unsigned MachineModuleInfo::RecordLabel(unsigned Line, unsigned Column,
- unsigned Source) {
+unsigned MachineModuleInfo::RecordSourceLine(unsigned Line, unsigned Column,
+ unsigned Source) {
unsigned ID = NextLabelID();
Lines.push_back(SourceLineInfo(Line, Column, Source, ID));
return ID;
OpenPOWER on IntegriCloud