summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-16 21:55:02 +0000
committerChris Lattner <sabre@nondot.org>2004-08-16 21:55:02 +0000
commit9fb30a4257bf9fa0d7083677d48a4c26649ce1ef (patch)
treeb50047cd85e1f9d44062627caa9d0a4d006583f1 /llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp
parent491a52cf22047a5e4b64e702a143db4f814960d5 (diff)
downloadbcm5719-llvm-9fb30a4257bf9fa0d7083677d48a4c26649ce1ef.tar.gz
bcm5719-llvm-9fb30a4257bf9fa0d7083677d48a4c26649ce1ef.zip
Move MachineCodeForInstruction.h and MachineFunctionInfo.h into lib/Target/SparcV9
llvm-svn: 15830
Diffstat (limited to 'llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp')
-rw-r--r--llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp b/llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp
index c21defbd4df..693d29e50d9 100644
--- a/llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp
+++ b/llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp
@@ -17,10 +17,9 @@
#include "llvm/Constant.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
-#include "llvm/CodeGen/MachineFunctionInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
-
-namespace llvm {
+#include "MachineFunctionInfo.h"
+using namespace llvm;
namespace {
class StackSlots : public MachineFunctionPass {
@@ -47,8 +46,7 @@ namespace {
};
}
-Pass *createStackSlotsPass(const TargetMachine &Target) {
+Pass *llvm::createStackSlotsPass(const TargetMachine &Target) {
return new StackSlots(Target);
}
-} // End llvm namespace
OpenPOWER on IntegriCloud