MC: make WinEH opcode an opaque value
[oota-llvm.git] / lib / MC / MCContext.cpp
index 960a0716e93e2a148861aa28563e89d5a7c0ea5e..7702da3540ca56b1a28a895c6ae657a4dc3eee42 100644 (file)
@@ -291,7 +291,7 @@ const MCSectionCOFF *MCContext::getCOFFSection(StringRef Section,
   if (!IterBool.second)
     return Iter->second;
 
-  const MCSymbol *COMDATSymbol = nullptr;
+  MCSymbol *COMDATSymbol = nullptr;
   if (!COMDATSymName.empty())
     COMDATSymbol = GetOrCreateSymbol(COMDATSymName);