[Webkit-unassigned] [Bug 26276] Need a mechanism to determine stack extent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 28 12:56:37 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=26276
--- Comment #4 from Oliver Hunt <oliver at apple.com> 2010-08-28 12:56:37 PST ---
> BTW, just for fun I added an ASSERT in JSParser.cpp::canRecurse(), like
>
>
> char sample = 0;
> ASSERT(m_endAddress);
> + ASSERT(&sample > m_endAddress);
> return &sample > m_endAddress;
>
> and, if I'm not messing up, it does not seem to be triggered even once running LayoutTests/fast/js or the JSC tests. Do we have any reasonable test for the stack overflow business? :)
Seems like we could have some tests for that, file a bug on it and land a large number of tests for "recursive" bits of the grammar.
heavily nested functions, ()'s, etc should all eventually trigger this... (i'm sure i made tests for this though :-/)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list