GBE: don't return error if we get an empty module.
authorZhigang Gong <zhigang.gong@intel.com>
Thu, 11 Sep 2014 05:43:29 +0000 (13:43 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Thu, 11 Sep 2014 05:46:06 +0000 (13:46 +0800)
commite3715c5716d6427c0974838a0818c7f4b4ca216b
tree6f265c70052b6a8cd7df1846d06026fee6db5763
parent5cf035a8098deed26469b151972386fe5305c032
GBE: don't return error if we get an empty module.

When compile a empty string, we may get an empty module which is not
an error.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
backend/src/llvm/llvm_to_gen.cpp