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

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

Issue 1148333003: No dynamic at runtime (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments Created 5 years, 7 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 var DeltaBlue = dart.defineLibrary(DeltaBlue, {}); 1 var DeltaBlue = dart.defineLibrary(DeltaBlue, {});
2 var BenchmarkBase = dart.import(BenchmarkBase); 2 var BenchmarkBase = dart.import(BenchmarkBase);
3 var core = dart.import(core); 3 var core = dart.import(core);
4 (function(exports, BenchmarkBase, core) { 4 (function(exports, BenchmarkBase, core) {
5 'use strict'; 5 'use strict';
6 function main() { 6 function main() {
7 new DeltaBlue().report(); 7 new DeltaBlue().report();
8 } 8 }
9 dart.fn(main); 9 dart.fn(main);
10 class DeltaBlue extends BenchmarkBase.BenchmarkBase { 10 class DeltaBlue extends BenchmarkBase.BenchmarkBase {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 exports.planner.incrementalRemove(this); 86 exports.planner.incrementalRemove(this);
87 this.removeFromGraph(); 87 this.removeFromGraph();
88 } 88 }
89 isInput() { 89 isInput() {
90 return false; 90 return false;
91 } 91 }
92 } 92 }
93 dart.setSignature(Constraint, { 93 dart.setSignature(Constraint, {
94 methods: () => ({ 94 methods: () => ({
95 addConstraint: [dart.void, []], 95 addConstraint: [dart.void, []],
96 satisfy: [Constraint, [dart.dynamic]], 96 satisfy: [Constraint, [core.Object]],
97 destroyConstraint: [dart.void, []], 97 destroyConstraint: [dart.void, []],
98 isInput: [core.bool, []] 98 isInput: [core.bool, []]
99 }) 99 })
100 }); 100 });
101 class UnaryConstraint extends Constraint { 101 class UnaryConstraint extends Constraint {
102 UnaryConstraint(myOutput, strength) { 102 UnaryConstraint(myOutput, strength) {
103 this.myOutput = myOutput; 103 this.myOutput = myOutput;
104 this.satisfied = false; 104 this.satisfied = false;
105 super.Constraint(strength); 105 super.Constraint(strength);
106 this.addConstraint(); 106 this.addConstraint();
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 exports.BinaryConstraint = BinaryConstraint; 544 exports.BinaryConstraint = BinaryConstraint;
545 exports.ScaleConstraint = ScaleConstraint; 545 exports.ScaleConstraint = ScaleConstraint;
546 exports.EqualityConstraint = EqualityConstraint; 546 exports.EqualityConstraint = EqualityConstraint;
547 exports.Variable = Variable; 547 exports.Variable = Variable;
548 exports.Planner = Planner; 548 exports.Planner = Planner;
549 exports.Plan = Plan; 549 exports.Plan = Plan;
550 exports.chainTest = chainTest; 550 exports.chainTest = chainTest;
551 exports.projectionTest = projectionTest; 551 exports.projectionTest = projectionTest;
552 exports.change = change; 552 exports.change = change;
553 })(DeltaBlue, BenchmarkBase, core); 553 })(DeltaBlue, BenchmarkBase, core);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698