Ignore:
Timestamp:
Apr 14, 2011, 2:27:47 AM (14 years ago)
Author:
Patrick Gansterer
Message:

2011-04-14 Patrick Gansterer <Patrick Gansterer>

Unreviewed WinCE build fix for r83808.

It seams that the MSVC compiler for WinCE does not handle the friend scope correct.
Add an addtional inline function to StructureTransitionTable to work around this.

  • runtime/Structure.h: (JSC::StructureTransitionTable::keyForWeakGCMapFinalizer):
  • runtime/StructureTransitionTable.h: (JSC::StructureTransitionTable::WeakGCMapFinalizerCallback::keyForFinalizer):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/StructureTransitionTable.h

    r83809 r83827  
    7575            return 0;
    7676        }
    77        
    78         static Hash::Key keyForFinalizer(void* context, Structure*);
     77
     78        static inline Hash::Key keyForFinalizer(void* context, Structure* structure)
     79        {
     80            return keyForWeakGCMapFinalizer(context, structure);
     81        }
    7982    };
    8083
    8184    typedef WeakGCMap<Hash::Key, Structure, WeakGCMapFinalizerCallback, Hash, HashTraits> TransitionMap;
     85
     86    static Hash::Key keyForWeakGCMapFinalizer(void* context, Structure*);
    8287
    8388public:
Note: See TracChangeset for help on using the changeset viewer.