Changeset 45259 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jun 26, 2009, 3:27:21 AM (16 years ago)
Author:
[email protected]
Message:

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

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=26750

Allow custom memory allocation control for JavaScriptCore/runtime
directory's classes which instantiated by new:

class IdentifierTable
struct RegExpObjectData
class HashEntry
struct DataInstance::Cache
class UString
struct RegExpConstructorPrivate
class ScopeChain

  • runtime/DateInstance.cpp:
  • runtime/Identifier.cpp:
  • runtime/Lookup.h:
  • runtime/RegExpConstructor.cpp:
  • runtime/RegExpObject.h:
  • runtime/ScopeChain.h:
  • runtime/UString.h:
Location:
trunk/JavaScriptCore
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r45138 r45259  
     12009-06-26  Zoltan Horvath  <[email protected]>
     2
     3        Reviewed by Eric Seidel.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=26750       
     6
     7        Allow custom memory allocation control for JavaScriptCore/runtime
     8        directory's classes which instantiated by new:
     9
     10        class  IdentifierTable
     11        struct RegExpObjectData
     12        class  HashEntry
     13        struct DataInstance::Cache
     14        class  UString
     15        struct RegExpConstructorPrivate
     16        class  ScopeChain
     17
     18        * runtime/DateInstance.cpp:
     19        * runtime/Identifier.cpp:
     20        * runtime/Lookup.h:
     21        * runtime/RegExpConstructor.cpp:
     22        * runtime/RegExpObject.h:
     23        * runtime/ScopeChain.h:
     24        * runtime/UString.h:
     25
    1262009-06-24  Sam Weinig  <[email protected]>
    227
  • trunk/JavaScriptCore/runtime/DateInstance.cpp

    r44513 r45259  
    3131namespace JSC {
    3232
    33 struct DateInstance::Cache {
     33struct DateInstance::Cache : public FastAllocBase {
    3434    double m_gregorianDateTimeCachedForMS;
    3535    GregorianDateTime m_cachedGregorianDateTime;
  • trunk/JavaScriptCore/runtime/Identifier.cpp

    r44224 r45259  
    3333typedef HashMap<const char*, RefPtr<UString::Rep>, PtrHash<const char*> > LiteralIdentifierTable;
    3434
    35 class IdentifierTable {
     35class IdentifierTable : public FastAllocBase {
    3636public:
    3737    ~IdentifierTable()
  • trunk/JavaScriptCore/runtime/Lookup.h

    r44224 r45259  
    4545    typedef void (*PutFunction)(ExecState*, JSObject* baseObject, JSValue value);
    4646
    47     class HashEntry {
     47    class HashEntry : public FastAllocBase {
    4848    public:
    4949        void initialize(UString::Rep* key, unsigned char attributes, intptr_t v1, intptr_t v2)
  • trunk/JavaScriptCore/runtime/RegExpConstructor.cpp

    r44224 r45259  
    8989*/
    9090
    91 struct RegExpConstructorPrivate {
     91struct RegExpConstructorPrivate : public FastAllocBase {
    9292    // Global search cache / settings
    9393    RegExpConstructorPrivate()
  • trunk/JavaScriptCore/runtime/RegExpObject.h

    r44224 r45259  
    5757        virtual CallType getCallData(CallData&);
    5858
    59         struct RegExpObjectData {
     59        struct RegExpObjectData : public FastAllocBase {
    6060            RegExpObjectData(PassRefPtr<RegExp> regExp, double lastIndex)
    6161                : regExp(regExp)
  • trunk/JavaScriptCore/runtime/ScopeChain.h

    r45130 r45259  
    155155    class NoScopeChain {};
    156156
    157     class ScopeChain {
     157    class ScopeChain : public FastAllocBase {
    158158        friend class JIT;
    159159    public:
  • trunk/JavaScriptCore/runtime/UString.h

    r44641 r45259  
    7474    typedef Vector<char, 32> CStringBuffer;
    7575
    76     class UString {
     76    class UString : public FastAllocBase {
    7777        friend class JIT;
    7878
Note: See TracChangeset for help on using the changeset viewer.