summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/EmitAssembly.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-07 22:49:37 +0000
committerChris Lattner <sabre@nondot.org>2002-04-07 22:49:37 +0000
commit6915f8fc3c21a4ba0adb56f5f1472ebd9503ad49 (patch)
tree946430ede9c7b2444be2345071326bf73b5e681c /llvm/lib/Target/Sparc/EmitAssembly.cpp
parentcd739a66cffb27223edc38a7e629a9069672b364 (diff)
downloadbcm5719-llvm-6915f8fc3c21a4ba0adb56f5f1472ebd9503ad49.tar.gz
bcm5719-llvm-6915f8fc3c21a4ba0adb56f5f1472ebd9503ad49.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 llvm-svn: 2154
Diffstat (limited to 'llvm/lib/Target/Sparc/EmitAssembly.cpp')
-rw-r--r--llvm/lib/Target/Sparc/EmitAssembly.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp
index de4cb82b5dc..83a8b644945 100644
--- a/llvm/lib/Target/Sparc/EmitAssembly.cpp
+++ b/llvm/lib/Target/Sparc/EmitAssembly.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() {
}
OpenPOWER on IntegriCloud