Files
sdk/runtime
cshapiro@google.com fb485357cb Thread the weak persistent handle free-list through the raw_ field.
As free-list pointers are either the address of the next free handle
or NULL, raw_ fields should conveniently appear as a smi and be
ignored during weak reference processing.  Ordinary persistent handles
already reuse the raw_ field for this purpose and rely on confusing
free-list links with tagged smi values.

Of course, nothing strictly requires that the addresses of handles be
aligned in just the right way.  So, just in case, new asserts check
that raw_ field values are not confusable with tagged heap addresses.

Review URL: https://chromiumcodereview.appspot.com//9413003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4423 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 03:52:12 +00:00
..