CS 3304: Comparative Languages
Implementing Subprograms
[
Course Documents
] : [
Implementing Subprograms
]
Previous
Contents
Next
Keyword Index
Implementing Blocks
Two Methods:
Treat blocks as parameterless subprograms and give them activation records
Allocate locals on top of the ARI of the subprogram
Must use a different method to access locals (e.g., frame pointer)