addDependentChunk

open override fun addDependentChunk(chunk: L2Chunk)

Add the chunk with the given index to the receiver's list of chunks that depend on it. The receiver is a method. A change in the method's membership (e.g., adding a new method definition) will cause the chunk to be invalidated.