Compiler Design
Compiler Design
Compiler Design
(xiv) Explain the difference between stack allocation and heap allocation.
Q.3 (i)
Mention the issues to be considered while applying the techniques for code
optimization
(ii) Explain the various runtime storage management technique, with suitable
programming example
(iii) What do you understand by DAG? Write an algorithm for constructing a DAG
(iv) What is Calling sequence? Explain the process of calling sequence for a
procedure.
(v) Write an algorithm to divide a program into basic blocks with the help of
program code with example.