[Beignet] [PATCH 4/5] GenRegInterval should be a struct instead of a class

Lu Guanqun guanqun.lu at intel.com
Mon Apr 15 23:38:58 PDT 2013


Signed-off-by: Lu Guanqun <guanqun.lu at intel.com>
---
 backend/src/backend/gen_reg_allocation.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/backend/src/backend/gen_reg_allocation.hpp b/backend/src/backend/gen_reg_allocation.hpp
index b9859d7..5541304 100644
--- a/backend/src/backend/gen_reg_allocation.hpp
+++ b/backend/src/backend/gen_reg_allocation.hpp
@@ -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) */



More information about the Beignet mailing list