forked from OSchip/llvm-project
[ORC-RT] Fix an error check.
This commit is contained in:
parent
fdb21f0c5e
commit
ba9e28064b
|
@ -289,7 +289,7 @@ public:
|
|||
|
||||
if (ORC_RT_UNLIKELY(!&__orc_rt_jit_dispatch_ctx))
|
||||
return make_error<StringError>("__orc_jtjit_dispatch_ctx not set");
|
||||
if (ORC_RT_UNLIKELY(!&__orc_rt_jit_dispatch_ctx))
|
||||
if (ORC_RT_UNLIKELY(!&__orc_rt_jit_dispatch))
|
||||
return make_error<StringError>("__orc_jtjit_dispatch not set");
|
||||
|
||||
auto ArgBuffer =
|
||||
|
|
Loading…
Reference in New Issue