Discussion
A variable is live at a point if
Answer: D
Correct answer: its current value may be used along some path from that point
Liveness is a backward analysis and again a may property: the variable is live if any path from here reads it before writing it. Its principal use is register allocation, since two variables that are never live at the same time can share a register, and dead code elimination, since an assignment to a dead variable can be deleted.
No comment is present. Be the first to comment.
Loading…
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