aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/SparcV9StackSlots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/SparcV9/SparcV9StackSlots.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9StackSlots.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/SparcV9/SparcV9StackSlots.cpp b/lib/Target/SparcV9/SparcV9StackSlots.cpp
index c21defb..693d29e 100644
--- a/lib/Target/SparcV9/SparcV9StackSlots.cpp
+++ b/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