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

Side by Side Diff: test/codegen/expect/language/gc_test.js

Issue 2128353002: Check in codegen test expectations. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 5 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
(Empty)
1 dart_library.library('language/gc_test', null, /* Imports */[
2 'dart_sdk'
3 ], function load__gc_test(exports, dart_sdk) {
4 'use strict';
5 const core = dart_sdk.core;
6 const dart = dart_sdk.dart;
7 const dartx = dart_sdk.dartx;
8 const gc_test = Object.create(null);
9 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun ctionType(dart.dynamic, [dart.dynamic])))();
10 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
11 gc_test.main = function() {
12 let div = null;
13 for (let i = 0; i < 200; ++i) {
14 let l = core.List.new(1000000);
15 let m = 2;
16 div = dart.fn(_ => {
17 let b = l;
18 }, dynamicTodynamic());
19 let lSmall = core.List.new(3);
20 lSmall[dartx.set](0, l);
21 l[dartx.set](0, lSmall);
22 }
23 };
24 dart.fn(gc_test.main, VoidTodynamic());
25 // Exports:
26 exports.gc_test = gc_test;
27 });
OLDNEW
« no previous file with comments | « test/codegen/expect/language/function_type_this_parameter_test.js ('k') | test/codegen/expect/language/generic2_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698