[FastISel][AArch64] Add lowering support for frem.
[oota-llvm.git] / include / llvm / CodeGen / StackMaps.h
index b52240ce66fd2319cf24e6f4d986b9cade6713b7..a04cdf8abf28fa226005e95f1f2e086d67de8ac9 100644 (file)
@@ -8,8 +8,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_STACKMAPS
-#define LLVM_STACKMAPS
+#ifndef LLVM_CODEGEN_STACKMAPS_H
+#define LLVM_CODEGEN_STACKMAPS_H
 
 #include "llvm/ADT/MapVector.h"
 #include "llvm/ADT/SmallVector.h"
@@ -116,7 +116,7 @@ public:
   // OpParser.
   typedef enum { DirectMemRefOp, IndirectMemRefOp, ConstantOp } OpType;
 
-  StackMaps(AsmPrinter &AP) : AP(AP) {}
+  StackMaps(AsmPrinter &AP);
 
   /// \brief Generate a stackmap record for a stackmap instruction.
   ///
@@ -132,7 +132,7 @@ public:
   void serializeToStackMapSection();
 
 private:
-  const char *WSMP = "Stack Maps: ";
+  static const char *WSMP;
 
   typedef SmallVector<Location, 8> LocationVec;
   typedef SmallVector<LiveOutReg, 8> LiveOutVec;
@@ -196,4 +196,4 @@ private:
 
 }
 
-#endif // LLVM_STACKMAPS
+#endif