GenRegInterval should be a struct instead of a class
authorLu Guanqun <guanqun.lu@intel.com>
Tue, 16 Apr 2013 06:38:58 +0000 (14:38 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 17 Apr 2013 09:09:47 +0000 (17:09 +0800)
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/backend/gen_reg_allocation.hpp

index b9859d7..5541304 100644 (file)
@@ -32,7 +32,7 @@ namespace gbe
 {
   class Selection;      // Pre-register allocation code generation
   class GenRegister;    // Pre-register allocation Gen register
-  class GenRegInterval; // Liveness interval for each register
+  struct GenRegInterval; // Liveness interval for each register
   class GenContext;     // Gen specific context
 
   /*! Register allocate (i.e. virtual to physical register mapping) */