 Chromium Code Reviews
 Chromium Code Reviews Issue 9372106:
  Make HashMap a template class to specify the allocation policy.  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
    
  
    Issue 9372106:
  Make HashMap a template class to specify the allocation policy.  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/| Index: src/isolate.h | 
| =================================================================== | 
| --- src/isolate.h (revision 10795) | 
| +++ src/isolate.h (working copy) | 
| @@ -38,6 +38,7 @@ | 
| #include "frames.h" | 
| #include "global-handles.h" | 
| #include "handles.h" | 
| +#include "hashmap.h" | 
| #include "heap.h" | 
| #include "regexp-stack.h" | 
| #include "runtime-profiler.h" | 
| @@ -280,24 +281,7 @@ | 
| Address try_catch_handler_address_; | 
| }; | 
| -#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) | 
| -#define ISOLATE_PLATFORM_INIT_LIST(V) \ | 
| - /* VirtualFrame::SpilledScope state */ \ | 
| - V(bool, is_virtual_frame_in_spilled_scope, false) \ | 
| 
Sven Panne
2012/02/23 08:01:25
This is probably unrelated code, but still dead co
 | 
| - /* CodeGenerator::EmitNamedStore state */ \ | 
| - V(int, inlined_write_barrier_size, -1) | 
| - | 
| -#if !defined(__arm__) && !defined(__mips__) | 
| -class HashMap; | 
| -#endif | 
| - | 
| -#else | 
| - | 
| -#define ISOLATE_PLATFORM_INIT_LIST(V) | 
| - | 
| -#endif | 
| - | 
| #ifdef ENABLE_DEBUGGER_SUPPORT | 
| #define ISOLATE_DEBUGGER_INIT_LIST(V) \ | 
| @@ -367,7 +351,6 @@ | 
| V(uint64_t, enabled_cpu_features, 0) \ | 
| V(CpuProfiler*, cpu_profiler, NULL) \ | 
| V(HeapProfiler*, heap_profiler, NULL) \ | 
| - ISOLATE_PLATFORM_INIT_LIST(V) \ | 
| ISOLATE_DEBUGGER_INIT_LIST(V) | 
| class Isolate { |