Computer Science EngineeringHard

When a code generator has no free register and stores a live value to memory to free one, the process is called

  1. A. spilling
  2. B. coalescing
  3. C. constant folding
  4. D. hoisting

Correct answer: A. spilling

Register spilling saves a register's contents to memory and reloads them later.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic