LGTM, pushed, thanks.

> -----Original Message-----
> From: Beignet [mailto:[email protected]] On Behalf Of
> Ruiling Song
> Sent: Wednesday, August 5, 2015 15:17
> To: [email protected]
> Cc: Song, Ruiling
> Subject: [Beignet] [PATCH] GBE: Fix build error.
> 
> Signed-off-by: Ruiling Song <[email protected]>
> ---
>  backend/src/backend/program.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/backend/src/backend/program.cpp
> b/backend/src/backend/program.cpp index a9b5ff5..9caf1ac 100644
> --- a/backend/src/backend/program.cpp
> +++ b/backend/src/backend/program.cpp
> @@ -827,7 +827,7 @@ namespace gbe {
>          std::error_code err;
>          llvm::raw_fd_ostream ostream (dumpLLVMFileName.c_str(),
>                                        err, llvm::sys::fs::F_RW);
> -        if (!err.bool()) {
> +        if (!err) {
>            out_module->print(ostream, 0);
>          } //Otherwise, you'll have to make do without the dump.
>        }
> --
> 2.3.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

Reply via email to