Discussion
A compiler pass that reads the intermediate code and writes improved intermediate code is
Answer: B
Correct answer: an optimisation pass operating within the middle of the compiler
Reading intermediate code and writing intermediate code is the signature of an optimisation pass: the representation is unchanged and only the quality of the program improves.
Such passes are typically run several times and in sequence, since one transformation exposes opportunities for another. They sit between the front and back ends, so they are neither the last pass before the executable nor part of lexical analysis, and they have nothing to do with the assembler.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development