зеркало из https://github.com/mozilla/pjs.git
33fd886237
Since the private data is sometimes packed in strange ways into the underlying structure, we cannot just pass a reference to it to the marker. Instead, we store the gotten value on the C stack, do marking and potentially update its value there, then pass the updated privates location to the object using setPrivate. If the setPrivate function triggers write barriers that end up marking, this can recurse. For now we should simply not do this. |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
jsd | ||
public | ||
src | ||
xpconnect |