Changeset 44161 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
May 26, 2009, 3:25:56 PM (16 years ago)
Author:
[email protected]
Message:

2009-05-26 Zoltan Horvath <[email protected]>

Reviewed by Maciej Stachowiak.

Inherite HashTable from FastAllocBase, because it has been instantiated by
'new' in JavaScriptCore/runtime/JSGlobalData.cpp.

  • wtf/HashTable.h:
  • wtf/FastAllocBase.h: Remove 'wtf' path from TypeTraits.h to allow use outside of wtf.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r44145 r44161  
     12009-05-26  Zoltan Horvath  <[email protected]>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Inherite HashTable from FastAllocBase, because it has been instantiated by
     6        'new' in JavaScriptCore/runtime/JSGlobalData.cpp.
     7
     8        * wtf/HashTable.h:
     9        * wtf/FastAllocBase.h: Remove 'wtf' path from TypeTraits.h to allow use outside of wtf.
     10
    1112009-05-25  David Levin  <[email protected]>
    212
  • trunk/JavaScriptCore/wtf/HashTable.h

    r38859 r44161  
    2424
    2525#include "FastMalloc.h"
     26#include "FastAllocBase.h"
    2627#include "HashTraits.h"
    2728#include <wtf/Assertions.h>
     
    281282
    282283    template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
    283     class HashTable {
     284    class HashTable : public FastAllocBase {
    284285    public:
    285286        typedef HashTableIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits> iterator;
Note: See TracChangeset for help on using the changeset viewer.