chasm icon indicating copy to clipboard operation
chasm copied to clipboard

Shallow Write Locks

Open CheaterCodes opened this issue 1 year ago • 0 comments

Currently all locks in Chasm are "deep lock". However, in most cases, shallow locks would be preferred.

Imagine targeting a single instruction in a method. If a transformation applies a write lock to said instruction, all other transformations are not allow to change anything about it.

However, in most cases the intended behavior will be that noone modifies the location of said instruction. Shallow locks provide that option, allowing other transformations to modify childrens of the target, but not the target itself.

CheaterCodes avatar Nov 22 '22 14:11 CheaterCodes