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

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

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 years, 11 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
« no previous file with comments | « test/codegen/expect/8invalid-chars.in+file_name.js ('k') | test/codegen/expect/DeltaBlue.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('BenchmarkBase', null, /* Imports */[ 1 dart_library.library('BenchmarkBase', null, /* Imports */[
2 "dart/_runtime", 2 'dart/_runtime',
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 class Expect extends core.Object { 8 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)) {
11 dart.throw(`Values not equal: ${expected} vs ${actual}`); 11 dart.throw(`Values not equal: ${expected} vs ${actual}`);
12 } 12 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 measure: [core.double, []], 86 measure: [core.double, []],
87 report: [dart.void, []] 87 report: [dart.void, []]
88 }), 88 }),
89 statics: () => ({measureFor: [core.double, [core.Function, core.int]]}), 89 statics: () => ({measureFor: [core.double, [core.Function, core.int]]}),
90 names: ['measureFor'] 90 names: ['measureFor']
91 }); 91 });
92 // Exports: 92 // Exports:
93 exports.Expect = Expect; 93 exports.Expect = Expect;
94 exports.BenchmarkBase = BenchmarkBase; 94 exports.BenchmarkBase = BenchmarkBase;
95 }); 95 });
OLDNEW
« no previous file with comments | « test/codegen/expect/8invalid-chars.in+file_name.js ('k') | test/codegen/expect/DeltaBlue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698