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

Side by Side Diff: lib/runtime/dart/core.js

Issue 1039243002: fix temp used in postfix ops (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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 | « lib/runtime/dart/convert.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var core; 1 var core;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 class Object { 4 class Object {
5 constructor() { 5 constructor() {
6 var name = this.constructor.name; 6 var name = this.constructor.name;
7 var init = this[name]; 7 var init = this[name];
8 var result = void 0; 8 var result = void 0;
9 if (init) 9 if (init)
10 result = init.apply(this, arguments); 10 result = init.apply(this, arguments);
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 let values = _js_helper.Primitives.getProperty(object, Expando._EXPANDO_ PROPERTY_NAME); 989 let values = _js_helper.Primitives.getProperty(object, Expando._EXPANDO_ PROPERTY_NAME);
990 if (values === null) { 990 if (values === null) {
991 values = new Object(); 991 values = new Object();
992 _js_helper.Primitives.setProperty(object, Expando._EXPANDO_PROPERTY_NA ME, values); 992 _js_helper.Primitives.setProperty(object, Expando._EXPANDO_PROPERTY_NA ME, values);
993 } 993 }
994 _js_helper.Primitives.setProperty(values, this[_getKey](), value); 994 _js_helper.Primitives.setProperty(values, this[_getKey](), value);
995 } 995 }
996 [_getKey]() { 996 [_getKey]() {
997 let key = dart.as(_js_helper.Primitives.getProperty(this, Expando._KEY_P ROPERTY_NAME), String); 997 let key = dart.as(_js_helper.Primitives.getProperty(this, Expando._KEY_P ROPERTY_NAME), String);
998 if (key === null) { 998 if (key === null) {
999 key = `expando$key$${((x) => _keyCount = dart.notNull(x$) + 1, x$)(_ke yCount)}`; 999 key = `expando$key$${((x) => _keyCount = dart.notNull(x) + 1, x)(_keyC ount)}`;
1000 _js_helper.Primitives.setProperty(this, Expando._KEY_PROPERTY_NAME, ke y); 1000 _js_helper.Primitives.setProperty(this, Expando._KEY_PROPERTY_NAME, ke y);
1001 } 1001 }
1002 return key; 1002 return key;
1003 } 1003 }
1004 } 1004 }
1005 Expando._KEY_PROPERTY_NAME = 'expando$key'; 1005 Expando._KEY_PROPERTY_NAME = 'expando$key';
1006 Expando._EXPANDO_PROPERTY_NAME = 'expando$values'; 1006 Expando._EXPANDO_PROPERTY_NAME = 'expando$values';
1007 Expando._keyCount = 0; 1007 Expando._keyCount = 0;
1008 return Expando; 1008 return Expando;
1009 }); 1009 });
(...skipping 2022 matching lines...) Expand 10 before | Expand all | Expand 10 after
3032 exports.StackTrace = StackTrace; 3032 exports.StackTrace = StackTrace;
3033 exports.Stopwatch = Stopwatch; 3033 exports.Stopwatch = Stopwatch;
3034 exports.String = String; 3034 exports.String = String;
3035 exports.RuneIterator = RuneIterator; 3035 exports.RuneIterator = RuneIterator;
3036 exports.StringBuffer = StringBuffer; 3036 exports.StringBuffer = StringBuffer;
3037 exports.StringSink = StringSink; 3037 exports.StringSink = StringSink;
3038 exports.Symbol = Symbol; 3038 exports.Symbol = Symbol;
3039 exports.Type = Type; 3039 exports.Type = Type;
3040 exports.Uri = Uri; 3040 exports.Uri = Uri;
3041 })(core || (core = {})); 3041 })(core || (core = {}));
OLDNEW
« no previous file with comments | « lib/runtime/dart/convert.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698