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

Side by Side Diff: test/codegen/expect/names.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 unified diff | Download patch
OLDNEW
1 dart_library.library('names', null, /* Imports */[ 1 dart_library.library('names', null, /* Imports */[
2 "dart_runtime/dart", 2 "dart_runtime/dart",
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 exports.exports = 42; 8 exports.exports = 42;
9 let _foo$ = Symbol('_foo'); 9 let _foo$ = Symbol('_foo');
10 class Foo extends core.Object { 10 class Foo extends core.Object {
(...skipping 27 matching lines...) Expand all
38 get caller() { 38 get caller() {
39 return 100; 39 return 100;
40 }, 40 },
41 set caller(_) {}, 41 set caller(_) {},
42 get arguments() { 42 get arguments() {
43 return 200; 43 return 200;
44 }, 44 },
45 set arguments(_) {} 45 set arguments(_) {}
46 }); 46 });
47 function main() { 47 function main() {
48 core.print(exports.exports); 48 dart.dcall(core.print, exports.exports);
49 core.print(new Foo()[_foo$]()); 49 dart.dcall(core.print, dart.dcall(new Foo()[_foo$]));
50 core.print(_foo()); 50 dart.dcall(core.print, dart.dcall(_foo));
51 core.print(new Frame.caller([1, 2, 3])); 51 dart.dcall(core.print, new Frame.caller([1, 2, 3]));
52 let eval$ = Frame.callee; 52 let eval$ = Frame.callee;
53 core.print(eval$); 53 dart.dcall(core.print, eval$);
54 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); 54 dart.dcall(core.print, dart.notNull(Frame2.caller) + dart.notNull(Frame2.arg uments));
55 } 55 }
56 dart.fn(main); 56 dart.fn(main);
57 // Exports: 57 // Exports:
58 exports.Foo = Foo; 58 exports.Foo = Foo;
59 exports.Frame = Frame; 59 exports.Frame = Frame;
60 exports.Frame2 = Frame2; 60 exports.Frame2 = Frame2;
61 exports.main = main; 61 exports.main = main;
62 }); 62 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698