DUP-011
areDepsStable() (lines 839–847) is a thin wrapper that adds null checks before delegating to depsMatch():
function areDepsStable(newDeps, newReads, prevDeps, prevReads): boolean {
if (!newDeps || !newReads) return false
return depsMatch(prevDeps, newDeps, prevReads, newReads)
}
Its only caller, tryRestoreStableDeps (line 856), already performs null checks on all four parameters before calling areDepsStable. The null checks are redundant, making the function a pass-through.
areDepsStable can be removed and its call site replaced with a direct depsMatch() call.
DUP-011
areDepsStable()(lines 839–847) is a thin wrapper that adds null checks before delegating todepsMatch():Its only caller,
tryRestoreStableDeps(line 856), already performs null checks on all four parameters before callingareDepsStable. The null checks are redundant, making the function a pass-through.areDepsStablecan be removed and its call site replaced with a directdepsMatch()call.