Changes between Version 14 and Version 15 of squirrelfish
- Timestamp:
- Mar 26, 2008, 4:03:29 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
squirrelfish
v14 v15 9 9 ''' 10 10 11 Implement closures 11 squirrelfish unit and performance tests 12 13 Function calls to native functions (requires revamping the List class to be an alias to the register file -- Geoff has some ideas for making this fast) 12 14 13 15 Arguments object 14 16 15 17 Implement dynamic scope required by "with" (just like closures, but the activation doesn't need to be saved on return) 16 17 Function calls to native functions (requires revamping the List class to be an alias to the register file -- Geoff has some ideas for making this fast)18 18 19 19 '''Cameron is working on: … … 42 42 For functions that don't use "with" and/or "catch" (and that don't require activation objects), just use the function's scope chain directly, instead of creating a meaningless copy that will never be modified. 43 43 44 Evaluation of a script is supposed to produce a value. This requires storing the value of the last value-producing statement to execute. We need to detect the last top-level value-producing statement in a program, and save its value. Basically, that just means passing an explicit "dst" register to its emitCode function. 44 45 45 46 Make const work -- const info has to go in the symbol table, so writes to const vars can turn to no-ops at compile time.