[Webkit-unassigned] [Bug 159470] New: Modify bytecode generation for finally blocks so that we don't have to duplicate them.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 6 09:39:27 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159470
Bug ID: 159470
Summary: Modify bytecode generation for finally blocks so that
we don't have to duplicate them.
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
Instead, we can simply pass to Register values to finally block:
1. a JSValue to throw or to return.
2. an int enum value indicating an action to take at the end of the finally block:
a. FallThru: fall thru to next block.
b. Return: return the stashed returned value if this finally block does not have an outer finally block; else jump to outer finally block.
c. Throw; throw the stashed thrown value. It will automatically be caught by outer catch and finally blocks if present.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160706/da1b2a2b/attachment.html>
More information about the webkit-unassigned
mailing list