DescriptionImplement try/catch in the JS backend.
In the CPS IR, exception handlers initially have two parameters for
the exception and the stack trace. In JavaScript:
1. Unwrap the caught value to get the exception that was thrown and
use the unwrapped value in place of the exception parameter.
2. Get the stack trace from the (unwrapped) exception that was thrown.
3. Remove the stack trace parameter.
BUG=
R=asgerf@google.com
Committed: https://code.google.com/p/dart/source/detail?r=45152
Patch Set 1 #
Total comments: 4
Patch Set 2 : Incorporated review comment.s #
Messages
Total messages: 5 (1 generated)
|