Add pragma[nomagic] to top-level succ0 and remove cached

This commit is contained in:
Owen Mansel-Chan
2024-01-04 07:06:55 +00:00
parent 90f07d2116
commit dfd25f705d

View File

@@ -2111,7 +2111,7 @@ module CFG {
* Gets a successor of `nd`, that is, a node that is executed after `nd`,
* ignoring the execution of any deferred functions when a function ends.
*/
cached
pragma[nomagic]
private ControlFlow::Node succ0(ControlFlow::Node nd) {
any(ControlFlowTree tree).succ0(nd, result)
}