Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfExpression.h
index 15e29164d2fafbd17bbf8b26bcf92ab4c81d8878..78ec937a6b602d35bec8fcac5a05e63afeb6f45a 100644 (file)
@@ -34,15 +34,10 @@ protected:
   const TargetRegisterInfo &TRI;
   unsigned DwarfVersion;
 
-  /// \brief Set to true if we want comments to be emitted.  This is usually
-  /// only the case when the AsmPrinter is emitting to a text stream with
-  /// comments enabled.
-  bool PrintComments;
-
 public:
   DwarfExpression(const TargetRegisterInfo &TRI,
-                  unsigned DwarfVersion, bool PrintComments)
-    : TRI(TRI), DwarfVersion(DwarfVersion), PrintComments(PrintComments) {}
+                  unsigned DwarfVersion)
+    : TRI(TRI), DwarfVersion(DwarfVersion) {}
   virtual ~DwarfExpression() {}
 
   /// Output a dwarf operand and an optional assembler comment.
@@ -114,9 +109,8 @@ class DebugLocDwarfExpression : public DwarfExpression {
 
 public:
   DebugLocDwarfExpression(const TargetRegisterInfo &TRI,
-                          unsigned DwarfVersion, bool PrintComments,
-                          ByteStreamer &BS)
-    : DwarfExpression(TRI, DwarfVersion, PrintComments), BS(BS) {}
+                          unsigned DwarfVersion, ByteStreamer &BS)
+    : DwarfExpression(TRI, DwarfVersion), BS(BS) {}
 
   void EmitOp(uint8_t Op, const char *Comment = nullptr) override;
   void EmitSigned(int64_t Value) override;