From: Yang Rong Date: Thu, 26 Dec 2013 01:55:55 +0000 (+0800) Subject: Fix a build pushMap bug. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=796417ae5458f346c54fcce366619fa2ad5689e8;p=contrib%2Fbeignet.git Fix a build pushMap bug. Insert the pushMap to set to avoid multiple push. Signed-off-by: Yang Rong Reviewed-by: Zhigang Gong --- diff --git a/backend/src/ir/lowering.cpp b/backend/src/ir/lowering.cpp index 013878c..23dd120 100644 --- a/backend/src/ir/lowering.cpp +++ b/backend/src/ir/lowering.cpp @@ -238,6 +238,7 @@ namespace ir { if (offset != 0) { pushed = fn->newRegister(family); this->appendPushedConstant(pushed, argLocation); + inserted.insert(argLocation); } else { pushed = fn->getArg(loadAddImm.argID).reg; }