It appears that the distinction between a Default GlobalDataType for JSGlobalData and others serves no visible purpose when determining which StackBounds object to return--we should always return the StackBounds of the current thread (i.e. wtfThreadData().stack()). If this is indeed the case, we should remove this distinction to simplify the code base.
Created attachment 123398 [details] Patch
Comment on attachment 123398 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=123398&action=review > Source/JavaScriptCore/runtime/JSGlobalData.h:229 > const StackBounds& stack() > { > - return (globalDataType == Default) > - ? m_stack > - : wtfThreadData().stack(); > + return wtfThreadData().stack(); > } It seems odd to keep this interface, if it no longer access JSGlobalData members.
Committed r105638: <http://trac.webkit.org/changeset/105638>