v8/include
marja@chromium.org 6730ec8433 Amend PersistentValueMap:
- Use the surrounding map (instead of Traits::Impl) for weak callback.
- Provide for a fast reference to a mapped value.
- Restructure Traits to accomondate for the first point above.

[Why?] As discussed, I proceeded to replace Impl with the map.
The problem I encountered with that version is that now the
Traits class depends on itself: The weak-related methods require the
map type in their signature. But the map type includes the Traits class
and hence the Traits class method signatures depend on the specific Traits class. That
makes them practically un-derivable: While you can derive a Traits class
from another one, since the compiler now expects methods with a different
signature. To accommodate, I pulled the dispose traits into the weak traits
class. I also removed the Impl*/MapType* parameter from the Dispose call,
since no implementation seems to need it.

R=dcarney@chromium.org
BUG=

Review URL: https://codereview.chromium.org/212893007

Patch from Daniel Vogelheim <vogelheim@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20326 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-03-28 09:35:50 +00:00
..
v8-debug.h Removed 'executable' bits from header. 2014-03-27 12:15:14 +00:00
v8-platform.h Reland r17877 - Introduce a v8::Platform class that bundles embedder callbacks 2013-11-21 14:07:06 +00:00
v8-profiler.h Deprecate Start/StopCpuProfiling methods 2014-03-28 09:24:49 +00:00
v8-testing.h Re-land "Add methods to enable configuration of ResourceConstraints based on limits derived at runtime." 2013-09-27 10:53:07 +00:00
v8-util.h Amend PersistentValueMap: 2014-03-28 09:35:50 +00:00
v8.h This implements allocating small typed arrays in heap. 2014-03-26 12:50:13 +00:00
v8config.h v8config.h: introduce V8_LIBC_MSVCRT 2014-01-28 19:11:13 +00:00
v8stdint.h Move OS/compiler/feature detection to public v8config.h header. 2013-08-23 07:32:25 +00:00