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

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/literals_1.js

Issue 1616143003: Lower map literals to constructor or function calls in builder (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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 | « tests/compiler/dart2js/cps_ir/expected/basic_1.js ('k') | tests/corelib/corelib.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Expectation for test: 1 // Expectation for test:
2 // main() { 2 // main() {
3 // print([]); 3 // print([]);
4 // print([1]); 4 // print([1]);
5 // print([1, 2]); 5 // print([1, 2]);
6 // print([1, [1, 2]]); 6 // print([1, [1, 2]]);
7 // print({}); 7 // print({});
8 // print({1: 2}); 8 // print({1: 2});
9 // print({[1, 2]: [3, 4]}); 9 // print({[1, 2]: [3, 4]});
10 // } 10 // }
11 11
12 function() { 12 function() {
13 P.print([]); 13 P.print([]);
14 P.print([1]); 14 P.print([1]);
15 P.print([1, 2]); 15 P.print([1, 2]);
16 P.print([1, [1, 2]]); 16 P.print([1, [1, 2]]);
17 P.print(P.LinkedHashMap_LinkedHashMap$_empty()); 17 P.print(P.LinkedHashMap__makeEmpty());
18 P.print(P.LinkedHashMap_LinkedHashMap$_literal([1, 2])); 18 P.print(P.LinkedHashMap__makeLiteral([1, 2]));
19 P.print(P.LinkedHashMap_LinkedHashMap$_literal([[1, 2], [3, 4]])); 19 P.print(P.LinkedHashMap__makeLiteral([[1, 2], [3, 4]]));
20 } 20 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/basic_1.js ('k') | tests/corelib/corelib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698