Why are quadruples preferred over triples in an optimizing compiler?
feedbackofcollege:
can you please explain it
Answers
Answered by
4
Answer:
Quadruples are preferred over triples in an optimizing compiler as instructions are often found to move around in it.
In case of triples, the result of any given operation is referred to by its position and therefore if one instruction is moved, then it is required to make changes in all the references that lead to that result.
However, this problem doesn't arise with the use of quadruples.
Similar questions