| OLD | NEW |
| 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 Loading... |
| 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.functionType(dart.void, []), | 95 addConstraint: dart.functionType(dart.void, []), |
| 96 satisfy: dart.functionType(Constraint, [dart.dynamic]), | 96 satisfy: dart.functionType(Constraint, [core.Object]), |
| 97 destroyConstraint: dart.functionType(dart.void, []), | 97 destroyConstraint: dart.functionType(dart.void, []), |
| 98 isInput: dart.functionType(core.bool, []) | 98 isInput: dart.functionType(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 Loading... |
| 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); |
| OLD | NEW |