[Webkit-unassigned] [Bug 83437] Command-line jsc's exception handling should be rationalized
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 8 13:45:21 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83437
mitz at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #136156|review? |review+
Flag| |
--- Comment #2 from mitz at webkit.org 2012-04-08 13:45:21 PST ---
(From update of attachment 136156)
View in context: https://bugs.webkit.org/attachment.cgi?id=136156&action=review
> Source/JavaScriptCore/jsc.cpp:532
> if (dump) {
> - if (evaluationException)
> - printf("Exception: %s\n", evaluationException.toString(globalObject->globalExec())->value(globalObject->globalExec()).utf8().data());
> - else
> + if (!evaluationException)
Now that there’s no else clause inside you can just write
if (dump && !evaluationException)
--
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