Redirect pointerSize query to the TargetMachine in ASMPrinter
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index fe7efae325c4b6840ea831a171b3c6c8b1281c7e..7d9e397845c75c3d5bb0b54c0e763e423f5691cc 100644 (file)
@@ -165,6 +165,9 @@ public:
   /// Return information about data layout.
   const DataLayout &getDataLayout() const;
 
+  /// Return the pointer size from the TargetMachine
+  unsigned getPointerSize() const;
+
   /// Return information about subtarget.
   const MCSubtargetInfo &getSubtargetInfo() const;