diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-07 22:49:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-07 22:49:37 +0000 |
commit | b579400cd72f274607f4964a9649ea4d38e04c46 (patch) | |
tree | aa268b94603078ae47fb736068a423411adbdaee /lib/Target/SparcV9/SparcV9AsmPrinter.cpp | |
parent | 94202988a83f43907a7d9cc04b047052122a5dff (diff) | |
download | external_llvm-b579400cd72f274607f4964a9649ea4d38e04c46.tar.gz external_llvm-b579400cd72f274607f4964a9649ea4d38e04c46.tar.bz2 external_llvm-b579400cd72f274607f4964a9649ea4d38e04c46.zip |
* Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.h
because the slot calculator is already part of the VMCore library.
* Rename incorporateMethod and purgeMethod to *Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9AsmPrinter.cpp')
-rw-r--r-- | lib/Target/SparcV9/SparcV9AsmPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp index de4cb82b5d..83a8b64494 100644 --- a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp +++ b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp @@ -12,7 +12,6 @@ //===----------------------------------------------------------------------===// #include "SparcInternals.h" -#include "llvm/Analysis/SlotCalculator.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineCodeForMethod.h" #include "llvm/GlobalVariable.h" @@ -22,6 +21,7 @@ #include "llvm/BasicBlock.h" #include "llvm/Function.h" #include "llvm/Module.h" +#include "llvm/SlotCalculator.h" #include "Support/StringExtras.h" #include "Support/HashExtras.h" #include <iostream> @@ -84,11 +84,11 @@ public: } } void startFunction(Function *F) { - // Make sure the slot table has information about this method... - idTable->Table->incorporateMethod(F); + // Make sure the slot table has information about this function... + idTable->Table->incorporateFunction(F); } void endFunction(Function *F) { - idTable->Table->purgeMethod(); // Forget all about F + idTable->Table->purgeFunction(); // Forget all about F } void endModule() { } |