Changes between Version 27 and Version 28 of Commentary/Compiler/NewCodeGenStupidity


Ignore:
Timestamp:
Apr 27, 2011 11:37:48 AM (3 years ago)
Author:
ezyang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/NewCodeGenStupidity

    v27 v28  
    277277IS THAT TRUE?  For comparison's sake, the old codegen doesn't appear to 
    278278do any rewriting, because it just reuses the call area. 
    279  
    280 Actually, I think this is a case of spill/reload silliness. 
    281279 
    282280== Stupid spills == 
     
    387385}}} 
    388386 
     387The trouble is that the spiller doesn't know that the old call area is also valid game for locations that variables can live in. I thought maybe we could have the stack layout engine coalesce these, but them we need to know about when memory changes (since the old area will get written over.) This will also interact in strange ways with when we try to overlap areas. 
     388 
    389389== Noppy proc-points == 
    390390