Fix returning the result from dynamic calls on the singlepass backend

This commit is contained in:
Lachlan Sneff 2019-04-17 14:14:01 -07:00
parent 57e24c957c
commit f0a20151f6

View File

@ -221,7 +221,9 @@ impl RunnableModule for X64ExecutionContext {
)
}) {
Ok(x) => {
*rets = x;
if !rets.is_null() {
*rets = x;
}
true
}
Err(_) => false,