diff options
author | Devang Patel <dpatel@apple.com> | 2009-08-26 05:01:18 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-08-26 05:01:18 +0000 |
commit | f08e35d9dcf8887b3838aa5d87ff8c028b722693 (patch) | |
tree | 6d52c7378028875104ebd8e8f63a3e68d2f1dc10 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 1c9afc71300790ce0229705e35d7977629eeff35 (diff) | |
download | bcm5719-llvm-f08e35d9dcf8887b3838aa5d87ff8c028b722693.tar.gz bcm5719-llvm-f08e35d9dcf8887b3838aa5d87ff8c028b722693.zip |
Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.
llvm-svn: 80073
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 14ba36011f0..25dfa6e1ba5 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -333,7 +333,7 @@ unsigned MachineFunction::addLiveIn(unsigned PReg, /// getOrCreateDebugLocID - Look up the DebugLocTuple index with the given /// source file, line, and column. If none currently exists, create a new /// DebugLocTuple, and insert it into the DebugIdMap. -unsigned MachineFunction::getOrCreateDebugLocID(MDNode *CompileUnit, +unsigned MachineFunction::getOrCreateDebugLocID(GlobalVariable *CompileUnit, unsigned Line, unsigned Col) { DebugLocTuple Tuple(CompileUnit, Line, Col); DenseMap<DebugLocTuple, unsigned>::iterator II |