- Use the "Fast" flag instead of "OptimizeForSize" to determine whether to emit
[oota-llvm.git] / include / llvm / CodeGen / DwarfWriter.h
index dc844e1fbf057bda2bc4e4dd889308549cc6f225..14fc89bf18ca3bdc4dfb379a091c3be2bfc566a1 100644 (file)
@@ -48,7 +48,10 @@ private:
   /// DE - Provides the DwarfWriter exception implementation.
   ///
   DwarfException *DE;
-  
+
+  /// FastCodeGen - True if generating code via the "fast" isel.
+  /// 
+  bool FastCodeGen;
 public:
   static char ID; // Pass identification, replacement for typeid
 
@@ -104,6 +107,9 @@ public:
   /// ShouldEmitDwarfDebug - Returns true if Dwarf debugging declarations should
   /// be emitted.
   bool ShouldEmitDwarfDebug() const;
+
+  bool getFastCodeGen() const { return FastCodeGen; }
+  void setFastCodeGen(bool Fast) { FastCodeGen = Fast; }
 };