Make HashMap a template class to specify the allocation policy.
authorfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 23 Feb 2012 09:12:57 +0000 (09:12 +0000)
committerfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 23 Feb 2012 09:12:57 +0000 (09:12 +0000)
commitd1172448adb28c15486ada7dc5631683ab0b03e4
treea608132e6b9db101213ee99eeddc08f3c337ed05
parent7d4b78acb169ac7fa5d7652613e77383cd729328
Make HashMap a template class to specify the allocation policy.

The old HashMap class had an explicit member to determine the allocation
policy. The template version matches the approach used already for
lists.

Cleanup some include dependencies and unnecessary forward declarations.

Cleanup some dead code from isolate.h and replace some HEAP macros
with GetHeap().
Review URL: https://chromiumcodereview.appspot.com/9372106

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10806 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
15 files changed:
src/SConscript
src/ast.cc
src/bootstrapper.cc
src/compilation-cache.h
src/cpu-profiler.h
src/hashmap.cc [deleted file]
src/hashmap.h
src/isolate.h
src/log.h
src/objects-inl.h
src/preparser.h
src/scopes.cc
src/scopes.h
src/zone.h
tools/gyp/v8.gyp