change AsmPrinter to switch sections using AsmStreamer instead of
[oota-llvm.git] / lib / MC / MCNullStreamer.cpp
index 3ac79cbf0a246e657508158b39d82466164a1c62..fcdd087e67ac4c1e0d07405e604f7fb9acbdd32e 100644 (file)
@@ -26,7 +26,7 @@ namespace {
     /// @name MCStreamer Interface
     /// @{
 
-    virtual void SwitchSection(MCSection *Section) {}
+    virtual void SwitchSection(const MCSection *Section) {}
 
     virtual void EmitLabel(MCSymbol *Symbol) {}