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

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

Issue 1195523002: Handle dynamic as bottom inside of function type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Fix typo in comment Created 5 years, 6 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/BenchmarkBase.js ('k') | test/codegen/expect/cascade.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('DeltaBlue', null, /* Imports */[ 1 dart_library.library('DeltaBlue', null, /* Imports */[
2 "dart_runtime/dart", 2 "dart_runtime/dart",
3 'BenchmarkBase', 3 'BenchmarkBase',
4 'dart/core' 4 'dart/core'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 ], function(exports, dart, BenchmarkBase, core) { 6 ], function(exports, dart, BenchmarkBase, core) {
7 'use strict'; 7 'use strict';
8 let dartx = dart.dartx; 8 let dartx = dart.dartx;
9 function main() { 9 function main() {
10 new DeltaBlue().report(); 10 new DeltaBlue().report();
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 this.removeFromGraph(); 94 this.removeFromGraph();
95 } 95 }
96 isInput() { 96 isInput() {
97 return false; 97 return false;
98 } 98 }
99 } 99 }
100 dart.setSignature(Constraint, { 100 dart.setSignature(Constraint, {
101 constructors: () => ({Constraint: [Constraint, [Strength]]}), 101 constructors: () => ({Constraint: [Constraint, [Strength]]}),
102 methods: () => ({ 102 methods: () => ({
103 addConstraint: [dart.void, []], 103 addConstraint: [dart.void, []],
104 satisfy: [Constraint, [core.Object]], 104 satisfy: [Constraint, [dart.dynamic]],
105 destroyConstraint: [dart.void, []], 105 destroyConstraint: [dart.void, []],
106 isInput: [core.bool, []] 106 isInput: [core.bool, []]
107 }) 107 })
108 }); 108 });
109 class UnaryConstraint extends Constraint { 109 class UnaryConstraint extends Constraint {
110 UnaryConstraint(myOutput, strength) { 110 UnaryConstraint(myOutput, strength) {
111 this.myOutput = myOutput; 111 this.myOutput = myOutput;
112 this.satisfied = false; 112 this.satisfied = false;
113 super.Constraint(strength); 113 super.Constraint(strength);
114 this.addConstraint(); 114 this.addConstraint();
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 exports.BinaryConstraint = BinaryConstraint; 559 exports.BinaryConstraint = BinaryConstraint;
560 exports.ScaleConstraint = ScaleConstraint; 560 exports.ScaleConstraint = ScaleConstraint;
561 exports.EqualityConstraint = EqualityConstraint; 561 exports.EqualityConstraint = EqualityConstraint;
562 exports.Variable = Variable; 562 exports.Variable = Variable;
563 exports.Planner = Planner; 563 exports.Planner = Planner;
564 exports.Plan = Plan; 564 exports.Plan = Plan;
565 exports.chainTest = chainTest; 565 exports.chainTest = chainTest;
566 exports.projectionTest = projectionTest; 566 exports.projectionTest = projectionTest;
567 exports.change = change; 567 exports.change = change;
568 }); 568 });
OLDNEW
« no previous file with comments | « test/codegen/expect/BenchmarkBase.js ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698