Fix pr24486.
[oota-llvm.git] / lib / Target / Mips / MCTargetDesc / MipsMCExpr.h
index fd2ed17ee785e77277ac663a56760e3680c5b71d..e889972c5c0e8d121df49e0f9a365d9b0b7c2a1c 100644 (file)
@@ -51,8 +51,8 @@ public:
                                  const MCAsmLayout *Layout,
                                  const MCFixup *Fixup) const override;
   void visitUsedExpr(MCStreamer &Streamer) const override;
-  MCSection *findAssociatedSection() const override {
-    return getSubExpr()->findAssociatedSection();
+  MCFragment *findAssociatedFragment() const override {
+    return getSubExpr()->findAssociatedFragment();
   }
 
   // There are no TLS MipsMCExprs at the moment.