1 | $OpenBSD$ |
---|
2 | |
---|
3 | Prevent "error: cannot bind bitfield..." in gcc 6. |
---|
4 | https://bugs.webkit.org/show_bug.cgi?id=59261 |
---|
5 | |
---|
6 | Index: src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h |
---|
7 | --- src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h.orig |
---|
8 | +++ src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h |
---|
9 | @@ -317,7 +317,7 @@ namespace JSC { |
---|
10 | TransitionTable* transitionTable = new TransitionTable; |
---|
11 | setTransitionTable(transitionTable); |
---|
12 | if (existingTransition) |
---|
13 | - add(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(existingTransition->m_nameInPrevious.get()), existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious); |
---|
14 | + add(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(existingTransition->m_nameInPrevious.get()), +existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious); |
---|
15 | } |
---|
16 | } // namespace JSC |
---|
17 | |
---|