diff options
Diffstat (limited to 'contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h')
-rw-r--r-- | contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h b/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h index d1a4334..495d525 100644 --- a/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h +++ b/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h @@ -1,4 +1,4 @@ -//===-- MipsMCExpr.h - Mips specific MC expression classes ------*- C++ -*-===// +//===- MipsMCExpr.h - Mips specific MC expression classes -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -70,6 +70,7 @@ public: bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override; void visitUsedExpr(MCStreamer &Streamer) const override; + MCFragment *findAssociatedFragment() const override { return getSubExpr()->findAssociatedFragment(); } @@ -86,6 +87,7 @@ public: return isGpOff(Kind); } }; + } // end namespace llvm -#endif +#endif // LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCEXPR_H |