Changeset 44868 in webkit for trunk/JavaScriptCore/wtf


Ignore:
Timestamp:
Jun 19, 2009, 1:30:47 PM (16 years ago)
Author:
[email protected]
Message:

009-06-19 Zoltan Horvath <[email protected]>

Reviewed by Darin Adler.


Inherits HashCountedSet class from FastAllocBase because it has been
instantiated by 'new' in JavaScriptCore/runtime/Collector.cpp:1095.

  • wtf/HashCountedSet.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/HashCountedSet.h

    r39556 r44868  
    2323
    2424#include "Assertions.h"
     25#include "FastAllocBase.h"
    2526#include "HashMap.h"
    2627#include "Vector.h"
     
    2930
    3031    template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash,
    31         typename Traits = HashTraits<Value> > class HashCountedSet {
     32        typename Traits = HashTraits<Value> > class HashCountedSet : public FastAllocBase {
    3233    private:
    3334        typedef HashMap<Value, unsigned, HashFunctions, Traits> ImplType;
Note: See TracChangeset for help on using the changeset viewer.