mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
8433905015
While using just the label node's reachable set was sufficient for a simple swap (t = a; a = b; b = t;), it is not sufficient for read-before-write dependencies such as found in linked-list building: { o = array[ind]; o.next = obj; obj = o; } The assignment to o.next uses obj, but that use is hidden because obj's reachable nodes does not include o thus assigning o to obj causes the array dereference to be assigned directly to obj and thus o.next winds up pointing to o instead of whatever obj was. The parent nodes of obj's node are its users, so any new assigned to obj must come after those parents as well as any node reachable by obj's node. Fixes a runaway loop error when adding a frikbot to the server. |
||
---|---|---|
.. | ||
doc | ||
include | ||
source | ||
test | ||
AUTHORS | ||
Makemodule.am | ||
TODO |