[Beignet] [PATCH] GBE: should initialize useDWLabel to false by default.
Zhigang Gong
zhigang.gong at intel.com
Mon Apr 13 22:46:32 PDT 2015
Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
backend/src/backend/context.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/backend/context.cpp b/backend/src/backend/context.cpp
index 59ccc79..0dc60b7 100644
--- a/backend/src/backend/context.cpp
+++ b/backend/src/backend/context.cpp
@@ -319,7 +319,7 @@ namespace gbe
IVAR(OCL_SIMD_WIDTH, 8, 15, 16);
Context::Context(const ir::Unit &unit, const std::string &name) :
- unit(unit), fn(*unit.getFunction(name)), name(name), liveness(NULL), dag(NULL)
+ unit(unit), fn(*unit.getFunction(name)), name(name), liveness(NULL), dag(NULL), useDWLabel(false)
{
GBE_ASSERT(unit.getPointerSize() == ir::POINTER_32_BITS);
this->liveness = GBE_NEW(ir::Liveness, const_cast<ir::Function&>(fn));
--
1.9.1
More information about the Beignet
mailing list