aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/SparcV9/SparcV9AsmPrinter.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9AsmPrinter.cpp8
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() {
}