Machine-translated by Google. Questions are authored in English.
Top

Discussion

The intermediate representation is a good place to perform optimisation because

  • A.the parser has not yet finished processing the program
  • B.no temporaries have been introduced at that stage
  • C.it is independent of both the source language and the machine
  • D.it contains fewer instructions than the target code will

Answer: C

A transformation written once at that level benefits every source language and every target. Machine specific optimisations are left for the back end where the instruction set is known. The division keeps the front end usable with any target.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.