Changes between Version 15 and Version 16 of squirrelfish


Ignore:
Timestamp:
Mar 26, 2008, 11:39:08 PM (17 years ago)
Author:
ggaren@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • squirrelfish

    v15 v16  
    6363
    6464Must mark all scope chains in all active scopes -- can do this by walking up the scopeChain pointers in the register file
     65
     66List should just be a pointer and a length. This allows us to avoid copying arguments when calling from JS to native code. Most list clients know the size of the list in advance, so they can statically stack-allocate their data, and then vend a pointer and a length. A few clients don't know the size of the list until runtime. They can use a JSCellArray, which is a JSCell that holds a pointer to fixed-sized calloc'd array, which it marks. This might not work exactly as stated once we store types in registers, since the JSValues won't be immediately adjacent anymore.
    6567
    6668Pointers to registers and labels become invalid if the register or label vector resizes.