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

Unified Diff: test/codegen/expect/map_keys.js

Issue 1355893003: Rewire DDC to use the analyzer task model (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix for identifiers Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: test/codegen/expect/map_keys.js
diff --git a/test/codegen/expect/map_keys.js b/test/codegen/expect/map_keys.js
index fc1533452011d64d952707f30cccc96b8d35544e..2262b536e97697129890225086316bcf6efd17b7 100644
--- a/test/codegen/expect/map_keys.js
+++ b/test/codegen/expect/map_keys.js
@@ -7,12 +7,12 @@ dart_library.library('map_keys', null, /* Imports */[
'use strict';
let dartx = dart.dartx;
function main() {
- core.print(dart.map({'1': 2, '3': 4, '5': 6}));
- core.print(dart.map([1, 2, 3, 4, 5, 6]));
- core.print(dart.map({'1': 2, [`${dart.notNull(math.Random.new().nextInt(2)) + 2}`]: 4, '5': 6}));
+ dart.dcall(core.print, dart.map({'1': 2, '3': 4, '5': 6}));
+ dart.dcall(core.print, dart.map([1, 2, 3, 4, 5, 6]));
+ dart.dcall(core.print, dart.map({'1': 2, [`${dart.notNull(dart.dcall(math.Random.new().nextInt, 2)) + 2}`]: 4, '5': 6}));
let x = '3';
- core.print(dart.map(['1', 2, x, 4, '5', 6]));
- core.print(dart.map(['1', 2, null, 4, '5', 6]));
+ dart.dcall(core.print, dart.map(['1', 2, x, 4, '5', 6]));
+ dart.dcall(core.print, dart.map(['1', 2, null, 4, '5', 6]));
}
dart.fn(main);
// Exports:

Powered by Google App Engine
This is Rietveld 408576698