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

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

Issue 1100633006: Generate static calls for Object fields and methods (Closed) Base URL: https://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 | « no previous file | lib/runtime/dart/_internal.js » ('j') | lib/runtime/dart/_internal.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var _interceptors; 1 var _interceptors;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 let JSArray = Array; 4 let JSArray = Array;
5 let JSMutableArray$ = dart.generic(function(E) { 5 let JSMutableArray$ = dart.generic(function(E) {
6 class JSMutableArray extends JSArray$(E) {} 6 class JSMutableArray extends JSArray$(E) {}
7 JSMutableArray[dart.implements] = () => [JSMutableIndexable]; 7 JSMutableArray[dart.implements] = () => [JSMutableIndexable];
8 return JSMutableArray; 8 return JSMutableArray;
9 }); 9 });
10 let JSMutableArray = JSMutableArray$(); 10 let JSMutableArray = JSMutableArray$();
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 toString() { 1013 toString() {
1014 return 'null'; 1014 return 'null';
1015 } 1015 }
1016 get hashCode() { 1016 get hashCode() {
1017 return 0; 1017 return 0;
1018 } 1018 }
1019 get runtimeType() { 1019 get runtimeType() {
1020 return core.Null; 1020 return core.Null;
1021 } 1021 }
1022 noSuchMethod(invocation) { 1022 noSuchMethod(invocation) {
1023 return super.noSuchMethod(invocation); 1023 return dart.noSuchMethod(super, invocation);
Jennifer Messerly 2015/04/23 19:01:41 this doesn't seem like it would work?
vsm 2015/04/23 20:35:55 Ahh, forgot this helper. :-)
1024 } 1024 }
1025 } 1025 }
1026 JSNull[dart.implements] = () => [core.Null]; 1026 JSNull[dart.implements] = () => [core.Null];
1027 class JSIndexable extends core.Object {} 1027 class JSIndexable extends core.Object {}
1028 class JSMutableIndexable extends JSIndexable {} 1028 class JSMutableIndexable extends JSIndexable {}
1029 class JSObject extends core.Object {} 1029 class JSObject extends core.Object {}
1030 class JavaScriptObject extends Interceptor { 1030 class JavaScriptObject extends Interceptor {
1031 JavaScriptObject() { 1031 JavaScriptObject() {
1032 super.Interceptor(); 1032 super.Interceptor();
1033 } 1033 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 exports.findInterceptorForType = findInterceptorForType; 1083 exports.findInterceptorForType = findInterceptorForType;
1084 exports.JSBool = JSBool; 1084 exports.JSBool = JSBool;
1085 exports.JSNull = JSNull; 1085 exports.JSNull = JSNull;
1086 exports.JSIndexable = JSIndexable; 1086 exports.JSIndexable = JSIndexable;
1087 exports.JSMutableIndexable = JSMutableIndexable; 1087 exports.JSMutableIndexable = JSMutableIndexable;
1088 exports.JSObject = JSObject; 1088 exports.JSObject = JSObject;
1089 exports.JavaScriptObject = JavaScriptObject; 1089 exports.JavaScriptObject = JavaScriptObject;
1090 exports.PlainJavaScriptObject = PlainJavaScriptObject; 1090 exports.PlainJavaScriptObject = PlainJavaScriptObject;
1091 exports.UnknownJavaScriptObject = UnknownJavaScriptObject; 1091 exports.UnknownJavaScriptObject = UnknownJavaScriptObject;
1092 })(_interceptors || (_interceptors = {})); 1092 })(_interceptors || (_interceptors = {}));
OLDNEW
« no previous file with comments | « no previous file | lib/runtime/dart/_internal.js » ('j') | lib/runtime/dart/_internal.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698