Changes between Version 28 and Version 29 of squirrelfish


Ignore:
Timestamp:
Mar 31, 2008 12:21:25 AM (14 years ago)
Author:
ggaren@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • squirrelfish

    v28 v29  
    99'''
    1010
    11 Global code
     11Make global code work, including:
     12
     13{{{
     14global code should only emit "overwrite var with undefined" if the var doesn't exist already.
     15Global code needs to deal with new vars being added. Stupid solution: always allocate a new vector, add new, then copy old. Better solution: provide pre-capacity to the existing vector. Alternative solution: just renumber the vars -- does any code depend on the old numbers?
     16}}}
    1217
    1318Arguments object
     
    136141Make const work -- const info has to go in the symbol table, so writes to const vars can turn to no-ops at compile time.
    137142
    138 Make global code work, including:
    139 
    140 {{{
    141 global code should only emit "overwrite var with undefined" if the var doesn't exist already.
    142 Global code needs to deal with new vars being added. Stupid solution: always allocate a new vector, add new, then copy old. Better solution: provide pre-capacity to the existing vector. Alternative solution: just renumber the vars -- does any code depend on the old numbers?
    143 }}}
    144 
    145143Function call should store offset of R, not R, since vector may reallocate. This probably solves most problems related to new evaluations in same global object, since they all occur beneath function calls
    146144    -- arguments object also holds a pointer into the register file -- probably needs to be indirect index, instead