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

Side by Side Diff: test/codegen/expect/language/inline_add_constants_to_initial_env_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/inline_add_constants_to_initial_env_test', null, /* Imports */[
2 'dart_sdk'
3 ], function load__inline_add_constants_to_initial_env_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 inline_add_constants_to_initial_env_test = Object.create(null);
9 let dynamicAnddynamicTodynamic = () => (dynamicAnddynamicTodynamic = dart.cons tFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, dart.dynamic])))();
10 let dynamic__Todynamic = () => (dynamic__Todynamic = dart.constFn(dart.definit eFunctionType(dart.dynamic, [dart.dynamic], [dart.dynamic, dart.dynamic, dart.dy namic, dart.dynamic])))();
11 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun ctionType(dart.dynamic, [dart.dynamic])))();
12 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
13 inline_add_constants_to_initial_env_test.h = function(x, y) {
14 return dart.equals(x, y);
15 };
16 dart.fn(inline_add_constants_to_initial_env_test.h, dynamicAnddynamicTodynamic ());
17 inline_add_constants_to_initial_env_test.g = function(y, x0, x1, x2, x3) {
18 if (x0 === void 0) x0 = 0;
19 if (x1 === void 0) x1 = 1;
20 if (x2 === void 0) x2 = 2;
21 if (x3 === void 0) x3 = 3;
22 return dart.dsend(dart.dsend(dart.dsend(dart.dsend(y, '+', x0), '+', x1), '+ ', x2), '+', x3);
23 };
24 dart.fn(inline_add_constants_to_initial_env_test.g, dynamic__Todynamic());
25 inline_add_constants_to_initial_env_test.f = function(y) {
26 return inline_add_constants_to_initial_env_test.h(y, inline_add_constants_to _initial_env_test.g(y));
27 };
28 dart.fn(inline_add_constants_to_initial_env_test.f, dynamicTodynamic());
29 inline_add_constants_to_initial_env_test.main = function() {
30 for (let i = 0; i < 20; i++)
31 inline_add_constants_to_initial_env_test.f(i);
32 };
33 dart.fn(inline_add_constants_to_initial_env_test.main, VoidTodynamic());
34 // Exports:
35 exports.inline_add_constants_to_initial_env_test = inline_add_constants_to_ini tial_env_test;
36 });
OLDNEW
« no previous file with comments | « test/codegen/expect/language/infinity_test.js ('k') | test/codegen/expect/language/inline_argument_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698