mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 19:44:00 +00:00
Fix blocking functions
Don't think they're blocking when the scheduler has been disabled.
This commit is contained in:
+1
-1
@@ -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.
|
// Builtin or function pointer.
|
||||||
|
|||||||
Reference in New Issue
Block a user