RESOLVED FIXED 51778
Detect direction of stack growth at runtime
https://bugs.webkit.org/show_bug.cgi?id=51778
Summary Detect direction of stack growth at runtime
Patrick R. Gansterer
Reported 2010-12-31 07:40:49 PST
see patch
Attachments
Patch (1.82 KB, patch)
2010-12-31 07:45 PST, Patrick R. Gansterer
no flags
Patch (1.82 KB, patch)
2010-12-31 10:09 PST, Patrick R. Gansterer
no flags
Alternative Patch (1.41 KB, patch)
2011-01-02 16:08 PST, Patrick R. Gansterer
no flags
Alternative Patch (Minimal Version) (1.12 KB, patch)
2011-01-02 16:19 PST, Patrick R. Gansterer
no flags
Patrick R. Gansterer
Comment 1 2010-12-31 07:45:35 PST
WebKit Review Bot
Comment 2 2010-12-31 07:46:53 PST
Attachment 77719 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'JavaScriptCore/ChangeLog', u'JavaScriptCore/wtf/StackBounds.cpp', u'JavaScriptCore/wtf/StackBounds.h']" exit_code: 1 JavaScriptCore/wtf/StackBounds.cpp:78: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 7 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Eric Seidel (no email)
Comment 3 2010-12-31 09:32:29 PST
Comment on attachment 77719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=77719&action=review > JavaScriptCore/wtf/StackBounds.h:89 > + static bool result = detectGrowingDownward(&dummy); result could have had a better name. Like growsDownward, etc.
Patrick R. Gansterer
Comment 4 2010-12-31 10:09:44 PST
Patrick R. Gansterer
Comment 5 2011-01-02 15:58:13 PST
Can review this one too? It's required by bug 26276.
Patrick R. Gansterer
Comment 6 2011-01-02 16:08:33 PST
Created attachment 77783 [details] Alternative Patch If the change in isGrowingDownward isn't cool we can omit it. This is an alternative patch without this change.
Patrick R. Gansterer
Comment 7 2011-01-02 16:19:57 PST
Created attachment 77784 [details] Alternative Patch (Minimal Version) That's the minimal version required for WinCE
WebKit Review Bot
Comment 8 2011-01-02 16:21:41 PST
Attachment 77784 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/wtf/StackBounds.cpp']" exit_code: 1 Source/JavaScriptCore/wtf/StackBounds.cpp:78: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 7 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 9 2011-01-02 16:42:32 PST
WebKit Review Bot
Comment 10 2011-01-02 18:17:38 PST
Patrick R. Gansterer
Comment 11 2011-01-06 13:13:11 PST
Note You need to log in before you can comment on or make changes to this bug.