Commit 4102fb0f authored by paroga@webkit.org's avatar paroga@webkit.org
Browse files

2011-04-14 Patrick Gansterer <paroga@webkit.org>

        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):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a30d5cfa
2011-04-14 Patrick Gansterer <paroga@webkit.org>
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):
2011-04-13 Oliver Hunt <oliver@apple.com>
Fix 32bit tests.
......
......@@ -295,7 +295,7 @@ namespace JSC {
m_values.append(cell);
}
inline StructureTransitionTable::Hash::Key StructureTransitionTable::WeakGCMapFinalizerCallback::keyForFinalizer(void*, Structure* structure)
inline StructureTransitionTable::Hash::Key StructureTransitionTable::keyForWeakGCMapFinalizer(void*, Structure* structure)
{
return Hash::Key(structure->m_nameInPrevious.get(), structure->m_attributesInPrevious);
}
......
......@@ -74,12 +74,17 @@ class StructureTransitionTable {
{
return 0;
}
static Hash::Key keyForFinalizer(void* context, Structure*);
static inline Hash::Key keyForFinalizer(void* context, Structure* structure)
{
return keyForWeakGCMapFinalizer(context, structure);
}
};
typedef WeakGCMap<Hash::Key, Structure, WeakGCMapFinalizerCallback, Hash, HashTraits> TransitionMap;
static Hash::Key keyForWeakGCMapFinalizer(void* context, Structure*);
public:
StructureTransitionTable()
: m_data(UsingSingleSlotFlag)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment