Ignore:
Timestamp:
Jun 25, 2010, 3:16:55 AM (15 years ago)
Author:
[email protected]
Message:

2010-06-25 Sheriff Bot <[email protected]>

Unreviewed, rolling out r61833.
http://trac.webkit.org/changeset/61833
https://bugs.webkit.org/show_bug.cgi?id=41205

It broke Leopard and GTK (Requested by Ossy_ on #webkit).

  • runtime/RegExp.cpp: (JSC::RegExp::RegExp): (JSC::RegExp::create):
  • runtime/RegExp.h:
  • runtime/RegExpCache.cpp: (JSC::RegExpCache::lookupOrCreate): (JSC::RegExpCache::create):
  • runtime/RegExpCache.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/RegExpCache.h

    r61833 r61845  
    3636
    3737class RegExpCache {
    38 
    39 typedef HashMap<RegExpKey, RefPtr<RegExp> > RegExpCacheMap;
    40 
    4138public:
    4239    PassRefPtr<RegExp> lookupOrCreate(const UString& patternString, const UString& flags);
    43     PassRefPtr<RegExp> create(const UString& patternString, const UString& flags, RegExpCacheMap::iterator iterator);
     40    PassRefPtr<RegExp> create(const UString& patternString, const UString& flags);
    4441    RegExpCache(JSGlobalData* globalData);
    4542
     
    4845    static const int maxCacheableEntries = 256;
    4946
     47    typedef HashMap<RegExpKey, RefPtr<RegExp> > RegExpCacheMap;
    5048    RegExpKey patternKeyArray[maxCacheableEntries];
    5149    RegExpCacheMap m_cacheMap;
Note: See TracChangeset for help on using the changeset viewer.