Fix blocking functions

Don't think they're blocking when the scheduler has been disabled.
This commit is contained in:
Ayke van Laethem
2018-09-02 18:39:39 +02:00
parent bfff0c33e4
commit 1e90858145
+1 -1
View File
@@ -1588,7 +1588,7 @@ func (c *Compiler) parseCall(frame *Frame, instr *ssa.CallCommon, parentHandle l
}
}
}
return c.parseFunctionCall(frame, instr.Args, targetFunc.llvmFn, context, targetFunc.blocking, parentHandle)
return c.parseFunctionCall(frame, instr.Args, targetFunc.llvmFn, context, c.ir.IsBlocking(targetFunc), parentHandle)
}
// Builtin or function pointer.