LGTM, thanks. -----Original Message----- From: Beignet [mailto:[email protected]] On Behalf Of Zhigang Gong Sent: Tuesday, April 14, 2015 1:47 PM To: [email protected] Cc: Gong, Zhigang Subject: [Beignet] [PATCH] GBE: should initialize useDWLabel to false by default.
Signed-off-by: Zhigang Gong <[email protected]> --- 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 _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
