Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: test/codegen/expect/try_catch.js

Issue 1355893003: Rewire DDC to use the analyzer task model (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix for identifiers Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 dart_library.library('try_catch', null, /* Imports */[ 1 dart_library.library('try_catch', null, /* Imports */[
2 "dart_runtime/dart", 2 "dart_runtime/dart",
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 function foo() { 8 function foo() {
9 try { 9 try {
10 dart.throw("hi there"); 10 dart.throw("hi there");
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 dart.throw("on without exception parameter"); 57 dart.throw("on without exception parameter");
58 } catch (e) { 58 } catch (e) {
59 if (dart.is(e, core.String)) { 59 if (dart.is(e, core.String)) {
60 } else 60 } else
61 throw e; 61 throw e;
62 } 62 }
63 63
64 } 64 }
65 dart.fn(wub); 65 dart.fn(wub);
66 function main() { 66 function main() {
67 foo(); 67 dart.dcall(foo);
68 bar(); 68 dart.dcall(bar);
69 baz(); 69 dart.dcall(baz);
70 qux(); 70 dart.dcall(qux);
71 wub(); 71 dart.dcall(wub);
72 } 72 }
73 dart.fn(main); 73 dart.fn(main);
74 // Exports: 74 // Exports:
75 exports.foo = foo; 75 exports.foo = foo;
76 exports.bar = bar; 76 exports.bar = bar;
77 exports.baz = baz; 77 exports.baz = baz;
78 exports.qux = qux; 78 exports.qux = qux;
79 exports.wub = wub; 79 exports.wub = wub;
80 exports.main = main; 80 exports.main = main;
81 }); 81 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698