RESOLVED FIXED Bug 203942
Remove remnants of support code for an upwards growing stack.
https://bugs.webkit.org/show_bug.cgi?id=203942
Summary Remove remnants of support code for an upwards growing stack.
Mark Lam
Reported 2019-11-06 21:56:52 PST
We haven't supported an upwards growing stack in years, and a lot of code has since been written specifically with only a downwards growing stack in mind (e.g. the LLInt, the JITs). Also, all our currently supported platforms use a downward growing stack. We should remove the remnants of support code for an upwards growing stack. The presence of that code is deceptive in that it conveys support for an upwards growing stack where this hasn't been the case in years.
Attachments
proposed patch. (18.19 KB, patch)
2019-11-06 22:02 PST, Mark Lam
ysuzuki: review+
Mark Lam
Comment 1 2019-11-06 22:02:11 PST
Created attachment 383022 [details] proposed patch.
Yusuke Suzuki
Comment 2 2019-11-06 22:10:11 PST
Comment on attachment 383022 [details] proposed patch. r=me
Mark Lam
Comment 3 2019-11-06 22:21:49 PST
Comment on attachment 383022 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=383022&action=review Thanks for the review. > Source/WTF/wtf/StackBounds.h:113 > + ASSERT(m_bound <= m_origin); This one is redundant from a partial edit. I opted to go with the private isGrowingDownwards() methods instead because it documents at a glance what we're asserting here. I'll remove this redundant line before landing.
Mark Lam
Comment 4 2019-11-06 23:28:27 PST
Radar WebKit Bug Importer
Comment 5 2019-11-06 23:29:16 PST
Note You need to log in before you can comment on or make changes to this bug.