[Webkit-unassigned] [Bug 94051] JSC: fast/js/stack-trace.html fails due to erroneous line number for LLint frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 20 09:13:34 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94051


Mark Lam <mark.lam at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|JSC:                        |JSC:
                   |getLineNumberForCallFrame() |fast/js/stack-trace.html
                   |returns erroneous line      |fails due to erroneous line
                   |number for LLint frame      |number for LLint frame




--- Comment #2 from Mark Lam <mark.lam at apple.com>  2012-08-20 09:14:10 PST ---
The issue is not due to getLineNumberForCallFrame() returning the wrong line number as original suspected.  getLineNumberForCallFrame() does not have enough context to safely reverse the line number PC.  Instead, the llint runtime glue code should adjust the bytecode PC if needed just before it throws an exception.  The PC should only be adjusted if we're throwing from a call site.  The PC should not be adjusted for exceptions thrown from non-call bytecodes.

-- 
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