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

Side by Side Diff: pkg/dev_compiler/test/codegen_expected/BenchmarkBase.js

Issue 2804113002: DDC fix for foreign futures (Closed)
Patch Set: Optimize Created 3 years, 8 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 define(['dart_sdk'], function(dart_sdk) { 1 define(['dart_sdk'], function(dart_sdk) {
2 'use strict'; 2 'use strict';
3 const core = dart_sdk.core; 3 const core = dart_sdk.core;
4 const dart = dart_sdk.dart; 4 const dart = dart_sdk.dart;
5 const dartx = dart_sdk.dartx; 5 const dartx = dart_sdk.dartx;
6 const BenchmarkBase$ = Object.create(null); 6 const BenchmarkBase$ = Object.create(null);
7 let VoidToNull = () => (VoidToNull = dart.constFn(dart.definiteFunctionType(co re.Null, [])))(); 7 let VoidToNull = () => (VoidToNull = dart.constFn(dart.definiteFunctionType(co re.Null, [])))();
8 BenchmarkBase$.Expect = class Expect extends core.Object { 8 BenchmarkBase$.Expect = class Expect extends core.Object {
9 static equals(expected, actual) { 9 static equals(expected, actual) {
10 if (!dart.equals(expected, actual)) { 10 if (!dart.equals(expected, actual)) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 warmup: dart.definiteFunctionType(dart.void, []), 89 warmup: dart.definiteFunctionType(dart.void, []),
90 exercise: dart.definiteFunctionType(dart.void, []), 90 exercise: dart.definiteFunctionType(dart.void, []),
91 setup: dart.definiteFunctionType(dart.void, []), 91 setup: dart.definiteFunctionType(dart.void, []),
92 teardown: dart.definiteFunctionType(dart.void, []), 92 teardown: dart.definiteFunctionType(dart.void, []),
93 measure: dart.definiteFunctionType(core.double, []), 93 measure: dart.definiteFunctionType(core.double, []),
94 report: dart.definiteFunctionType(dart.void, []) 94 report: dart.definiteFunctionType(dart.void, [])
95 }), 95 }),
96 statics: () => ({measureFor: dart.definiteFunctionType(core.double, [core.Fu nction, core.int])}), 96 statics: () => ({measureFor: dart.definiteFunctionType(core.double, [core.Fu nction, core.int])}),
97 names: ['measureFor'] 97 names: ['measureFor']
98 }); 98 });
99 dart.trackLibraries("BenchmarkBase", {"BenchmarkBase.dart": BenchmarkBase$}, n ull); 99 dart.trackLibraries("BenchmarkBase", {
100 "BenchmarkBase.dart": BenchmarkBase$
101 }, null);
100 // Exports: 102 // Exports:
101 return { 103 return {
102 BenchmarkBase: BenchmarkBase$ 104 BenchmarkBase: BenchmarkBase$
103 }; 105 };
104 }); 106 });
OLDNEW
« no previous file with comments | « pkg/dev_compiler/lib/sdk/ddc_sdk.sum ('k') | pkg/dev_compiler/test/codegen_expected/async_helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698