Changes between Version 7 and Version 8 of squirrelfish


Ignore:
Timestamp:
Mar 24, 2008 11:57:29 PM (14 years ago)
Author:
oliver@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • squirrelfish

    v7 v8  
    2424Better code generation. We have been pondering whether to have a separate peephole optimization pass or to incorporate peephole optimization into code generation. Either way, we should look at some code generation algorithms based on tile matching. We also want to choose an approach that will be compatible with planned extensions, e.g. superinstructions.
    2525
     26'''Oliver is working on:
     27'''
     28
     29Zero-cost exception handling, using a table.
     30
    2631'''You could take something from Geoff, or make something up yourself, or do one of these:'''
    27 
    28 Make everything work with a switch statement, based on macros -- for the sake of platforms without computed goto -- Oliver is working on this.
    2932
    3033Statically detect presence of "with" and/or "catch" in the parser (required for correct scope chain behavior)
     
    4043Global 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?
    4144}}}
    42 
    43 
    44 Zero-cost exception handling, using a table.
    4545
    4646Function 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