o_AddDependentChunk

open override fun o_AddDependentChunk(self: AvailObject, chunk: L2Chunk)

Record the fact that the given L2Chunk depends on the object not changing in some way peculiar to the kind of object. Most typically, this is applied to A_Methods, triggering invalidation if A_Definitions are added to or removed from the method, but at some point we may also support slowly-changing variables.

See also

Parameters

self

The object responsible for invalidating dependent chunks when it changes.

chunk

A chunk that should be invalidated if the object changes.