Put Target definitions inside Target specific header, and llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76344 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/CellSPU/SPU.h b/lib/Target/CellSPU/SPU.h
index f76fc82..9fc36f6 100644
--- a/lib/Target/CellSPU/SPU.h
+++ b/lib/Target/CellSPU/SPU.h
@@ -92,6 +92,9 @@
inline bool isU10Constant(uint64_t Value) {
return (Value == (Value & 0x3ff));
}
+
+ extern Target TheCellSPUTarget;
+
}
// Defines symbolic names for the SPU instructions.