1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-08 20:16:39 +00:00
dart-sdk/samples
Kevin Millikin 089ed2965b Implement try/finally by inlining the finally code.
Try/finally is implemented by inlining.  There is a try/catch to catch
exceptions in the try block.  The catch body contains the finally code
followed by a rethrow.  The code for finally is translated again after the
normal exit of the try block.  Break, continue, and return exits in the try
block have the finally code inlined just before the exit is taken.

Try/catch/finally is not yet supported, it requires some changes to the
assigned variables analysis.

R=asgerf@google.com

Review URL: https://codereview.chromium.org//1201983002.
2015-06-24 10:12:42 +02:00
..
build_dart Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
build_dart_simple Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
sample_extension Revert "Hide Isolate pointer from embedder" 2015-05-19 11:41:42 -07:00
third_party Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
.gitignore Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
README Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
samples.status Implement try/finally by inlining the finally code. 2015-06-24 10:12:42 +02:00

This directory contains sample Dart programs.