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

Discussion

A high level intermediate representation, compared with a low level one,

  • A.retains more of the source structure and less machine detail
  • B.is always faster to translate into target code
  • C.cannot be optimised at all before code generation
  • D.requires that the source language be entirely free of pointers

Answer: A

Correct answer: retains more of the source structure and less machine detail

A high level representation keeps array indexing, structure references and loops as such, which suits optimisations that reason about program structure. Lowering it exposes address arithmetic and machine operations, which suits optimisations closer to the target. Neither is better in general, which is why several are used in sequence.

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

Post your comment

Please log in or register to post a comment.