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

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

Issue 1095683005: fix super ctor logic (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merge 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/_internal.js ('k') | lib/runtime/dart/async.js » ('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 _js_helper; 1 var _js_helper;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 class NoSideEffects extends core.Object { 4 class NoSideEffects extends core.Object {
5 NoSideEffects() { 5 NoSideEffects() {
6 } 6 }
7 } 7 }
8 class NoThrows extends core.Object { 8 class NoThrows extends core.Object {
9 NoThrows() { 9 NoThrows() {
10 } 10 }
(...skipping 2848 matching lines...) Expand 10 before | Expand all | Expand 10 after
2859 class TearOffClosure extends Closure {} 2859 class TearOffClosure extends Closure {}
2860 let _self = Symbol('_self'); 2860 let _self = Symbol('_self');
2861 let _target = Symbol('_target'); 2861 let _target = Symbol('_target');
2862 let _name = Symbol('_name'); 2862 let _name = Symbol('_name');
2863 class BoundClosure extends TearOffClosure { 2863 class BoundClosure extends TearOffClosure {
2864 BoundClosure(self, target, receiver, name) { 2864 BoundClosure(self, target, receiver, name) {
2865 this[_self] = self; 2865 this[_self] = self;
2866 this[_target] = target; 2866 this[_target] = target;
2867 this[_receiver] = receiver; 2867 this[_receiver] = receiver;
2868 this[_name] = name; 2868 this[_name] = name;
2869 super.TearOffClosure();
2870 } 2869 }
2871 ['=='](other) { 2870 ['=='](other) {
2872 if (core.identical(this, other)) 2871 if (core.identical(this, other))
2873 return true; 2872 return true;
2874 if (!dart.is(other, BoundClosure)) 2873 if (!dart.is(other, BoundClosure))
2875 return false; 2874 return false;
2876 return this[_self] === dart.dload(other, _self) && this[_target] === dart. dload(other, _target) && this[_receiver] === dart.dload(other, _receiver); 2875 return this[_self] === dart.dload(other, _self) && this[_target] === dart. dload(other, _target) && this[_receiver] === dart.dload(other, _receiver);
2877 } 2876 }
2878 get hashCode() { 2877 get hashCode() {
2879 let receiverHashCode = null; 2878 let receiverHashCode = null;
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
4045 exports.jsonEncodeNative = jsonEncodeNative; 4044 exports.jsonEncodeNative = jsonEncodeNative;
4046 exports.getIsolateAffinityTag = getIsolateAffinityTag; 4045 exports.getIsolateAffinityTag = getIsolateAffinityTag;
4047 exports.LoadLibraryFunctionType = LoadLibraryFunctionType; 4046 exports.LoadLibraryFunctionType = LoadLibraryFunctionType;
4048 exports.DeferredLoadCallback = DeferredLoadCallback; 4047 exports.DeferredLoadCallback = DeferredLoadCallback;
4049 exports.loadDeferredLibrary = loadDeferredLibrary; 4048 exports.loadDeferredLibrary = loadDeferredLibrary;
4050 exports.MainError = MainError; 4049 exports.MainError = MainError;
4051 exports.missingMain = missingMain; 4050 exports.missingMain = missingMain;
4052 exports.badMain = badMain; 4051 exports.badMain = badMain;
4053 exports.mainHasTooManyParameters = mainHasTooManyParameters; 4052 exports.mainHasTooManyParameters = mainHasTooManyParameters;
4054 })(_js_helper || (_js_helper = {})); 4053 })(_js_helper || (_js_helper = {}));
OLDNEW
« no previous file with comments | « lib/runtime/dart/_internal.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698