OLD | NEW |
1 dart_library.library('language/cha_deopt3_test', null, /* Imports */[ | 1 dart_library.library('language/cha_deopt3_test', null, /* Imports */[ |
2 'dart_sdk', | 2 'dart_sdk', |
3 'expect' | 3 'expect' |
4 ], function load__cha_deopt3_test(exports, dart_sdk, expect) { | 4 ], function load__cha_deopt3_test(exports, dart_sdk, expect) { |
5 'use strict'; | 5 'use strict'; |
6 const core = dart_sdk.core; | 6 const core = dart_sdk.core; |
7 const _interceptors = dart_sdk._interceptors; | 7 const _interceptors = dart_sdk._interceptors; |
8 const dart = dart_sdk.dart; | 8 const dart = dart_sdk.dart; |
9 const dartx = dart_sdk.dartx; | 9 const dartx = dart_sdk.dartx; |
10 const expect$ = expect.expect; | 10 const expect$ = expect.expect; |
(...skipping 10 matching lines...) Expand all Loading... |
21 expect$.Expect.equals(1, cha_deopt3_test.bla()); | 21 expect$.Expect.equals(1, cha_deopt3_test.bla()); |
22 loadLibrary().then(dart.dynamic)(dart.fn(_ => { | 22 loadLibrary().then(dart.dynamic)(dart.fn(_ => { |
23 cha_deopt3_test.loaded = true; | 23 cha_deopt3_test.loaded = true; |
24 expect$.Expect.equals(1, cha_deopt3_test.bla()); | 24 expect$.Expect.equals(1, cha_deopt3_test.bla()); |
25 }, dynamicTodynamic())); | 25 }, dynamicTodynamic())); |
26 }; | 26 }; |
27 dart.fn(cha_deopt3_test.main, VoidTodynamic()); | 27 dart.fn(cha_deopt3_test.main, VoidTodynamic()); |
28 cha_deopt3_test.make_array = function() { | 28 cha_deopt3_test.make_array = function() { |
29 try { | 29 try { |
30 if (dart.test(cha_deopt3_test.loaded)) { | 30 if (dart.test(cha_deopt3_test.loaded)) { |
31 return [new cha_deopt3_lib.A(), new cha_deopt3_lib.B(), new cha_deopt3_l
ib.C(), new cha_deopt3_lib.D(), new cha_deopt3_lib.E(), cha_deopt3_deferred_lib.
make_u()]; | 31 return JSArrayOfObject().of([new cha_deopt3_lib.A(), new cha_deopt3_lib.
B(), new cha_deopt3_lib.C(), new cha_deopt3_lib.D(), new cha_deopt3_lib.E(), cha
_deopt3_deferred_lib.make_u()]); |
32 } else { | 32 } else { |
33 return JSArrayOfObject().of([new cha_deopt3_lib.A(), new cha_deopt3_lib.
B(), new cha_deopt3_lib.C(), new cha_deopt3_lib.D(), new cha_deopt3_lib.E(), new
cha_deopt3_lib.T()]); | 33 return JSArrayOfObject().of([new cha_deopt3_lib.A(), new cha_deopt3_lib.
B(), new cha_deopt3_lib.C(), new cha_deopt3_lib.D(), new cha_deopt3_lib.E(), new
cha_deopt3_lib.T()]); |
34 } | 34 } |
35 } catch (e) { | 35 } catch (e) { |
36 } | 36 } |
37 | 37 |
38 }; | 38 }; |
39 dart.fn(cha_deopt3_test.make_array, VoidTodynamic()); | 39 dart.fn(cha_deopt3_test.make_array, VoidTodynamic()); |
40 cha_deopt3_test.bla = function() { | 40 cha_deopt3_test.bla = function() { |
41 let count = 0; | 41 let count = 0; |
(...skipping 13 matching lines...) Expand all Loading... |
55 cha_deopt3_deferred_lib.U[dart.implements] = () => [cha_deopt3_lib.T]; | 55 cha_deopt3_deferred_lib.U[dart.implements] = () => [cha_deopt3_lib.T]; |
56 cha_deopt3_deferred_lib.make_u = function() { | 56 cha_deopt3_deferred_lib.make_u = function() { |
57 return new cha_deopt3_deferred_lib.U(); | 57 return new cha_deopt3_deferred_lib.U(); |
58 }; | 58 }; |
59 dart.fn(cha_deopt3_deferred_lib.make_u, VoidTodynamic()); | 59 dart.fn(cha_deopt3_deferred_lib.make_u, VoidTodynamic()); |
60 // Exports: | 60 // Exports: |
61 exports.cha_deopt3_test = cha_deopt3_test; | 61 exports.cha_deopt3_test = cha_deopt3_test; |
62 exports.cha_deopt3_lib = cha_deopt3_lib; | 62 exports.cha_deopt3_lib = cha_deopt3_lib; |
63 exports.cha_deopt3_deferred_lib = cha_deopt3_deferred_lib; | 63 exports.cha_deopt3_deferred_lib = cha_deopt3_deferred_lib; |
64 }); | 64 }); |
OLD | NEW |