[Hexagon] Removing static variable holding MCInstrInfo.
[oota-llvm.git] / lib / Target / Hexagon / MCTargetDesc / HexagonMCInst.h
index 5c9a5bd86d4fe0c28f0d8a89539bb772f0c24106..5aaa59e0f7c8ab210a6565e9d1994e8e85cf246b 100644 (file)
@@ -23,9 +23,8 @@ namespace llvm {
 class MCOperand;
 
 class HexagonMCInst : public MCInst {
-  friend void ::LLVMInitializeHexagonTargetMC();
   // Used to access TSFlags
-  static std::unique_ptr <MCInstrInfo const> MCII;
+  std::unique_ptr <MCInstrInfo const> MCII;
 
 public:
   explicit HexagonMCInst();