This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 1 VERSION October 19, 2010 This can be formalized. The information required to make successful calls and returns can be stored in a record, called an activation record (AR) or a frame. A typical format of an activation record is where AR are placed in the stack of activation records. The heap part is for dynamically allocated objects. Now, you can think that there is a piece of information associated with each active instance of the procedure (function) that allows us to restore the environment of the caller thus safely continue the computation upon returning. The stack of activation records for bonacci corresponding to the path in the gure above is: 2 VERSION October 19, 2010 3...
View Full Document
This document was uploaded on 12/14/2010.
- Fall '09
- Computer Science