Remove AIX VisualAge C++ compiler bug workaround.

Tag #186
This commit is contained in:
wolfbeast 2019-03-31 18:20:08 +02:00 committed by Roy Tam
commit 02260b18f3
2 changed files with 3 additions and 17 deletions

View file

@ -78,15 +78,8 @@ GetIndexFromCache(const nsAttrAndChildArray* aArray)
}
/**
* Due to a compiler bug in VisualAge C++ for AIX, we need to return the
* address of the first index into mBuffer here, instead of simply returning
* mBuffer itself.
*
* See Bug 231104 for more information.
*/
#define ATTRS(_impl) \
reinterpret_cast<InternalAttr*>(&((_impl)->mBuffer[0]))
reinterpret_cast<InternalAttr*>((_impl)->mBuffer)
#define NS_IMPL_EXTRA_SIZE \