RESOLVED DUPLICATE of bug 145525 145522
Track exception values and stack trace together in an Exception object
https://bugs.webkit.org/show_bug.cgi?id=145522
Summary Track exception values and stack trace together in an Exception object
Mark Lam
Reported 2015-06-01 13:25:09 PDT
We currently track exceptions as 2 values in the VM: m_exception (the thrown JSValue) and m_exceptionStack (a capture of the stack trace at the time of throw). This increases the complexity of having to keep the 2 values in sync every time we throw, clear, stash away, and restore exceptions. We should introduce an Exception object to better encapsulate all the state pertaining to an exception throwing event.
Attachments
Mark Lam
Comment 1 2015-06-02 13:26:05 PDT
After reviewing the needed changes, there's not enough difference between the patch for this bug and the fix for bug 145525 (which this bug is intended to build towards). So, I'll just roll this bug into 145525 and implement the fix there. *** This bug has been marked as a duplicate of bug 145525 ***
Note You need to log in before you can comment on or make changes to this bug.