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.cpp |
---|
7 | --- src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.cpp.orig |
---|
8 | +++ src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.cpp |
---|
9 | @@ -157,7 +157,7 @@ Structure::~Structure() |
---|
10 | { |
---|
11 | if (m_previous) { |
---|
12 | if (m_nameInPrevious) |
---|
13 | - m_previous->table.remove(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(m_nameInPrevious.get()), m_attributesInPrevious), m_specificValueInPrevious); |
---|
14 | + m_previous->table.remove(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(m_nameInPrevious.get()), +m_attributesInPrevious), m_specificValueInPrevious); |
---|
15 | else |
---|
16 | m_previous->table.removeAnonymousSlotTransition(m_anonymousSlotsInPrevious); |
---|
17 | |
---|