Changes between Version 7 and Version 8 of squirrelfish
- Timestamp:
- Mar 24, 2008, 11:57:29 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
squirrelfish
v7 v8 24 24 Better 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. 25 25 26 '''Oliver is working on: 27 ''' 28 29 Zero-cost exception handling, using a table. 30 26 31 '''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.29 32 30 33 Statically detect presence of "with" and/or "catch" in the parser (required for correct scope chain behavior) … … 40 43 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? 41 44 }}} 42 43 44 Zero-cost exception handling, using a table.45 45 46 46 Function 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