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

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

Issue 1093143004: fixes #52, fields shadowing getters/setters or other fields (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 | « no previous file | lib/runtime/dart/_internal.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 _foreign_helper; 1 var _foreign_helper;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 // Function JS: (String, String, [dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic]) → dynamic 4 // Function JS: (String, String, [dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic]) → dynamic
5 function JS(typeDescription, codeTemplate, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) { 5 function JS(typeDescription, codeTemplate, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
6 if (arg0 === void 0) 6 if (arg0 === void 0)
7 arg0 = null; 7 arg0 = null;
8 if (arg1 === void 0) 8 if (arg1 === void 0)
9 arg1 = null; 9 arg1 = null;
10 if (arg2 === void 0) 10 if (arg2 === void 0)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 106 }
107 // Function JS_GET_FLAG: (String) → bool 107 // Function JS_GET_FLAG: (String) → bool
108 function JS_GET_FLAG(name) { 108 function JS_GET_FLAG(name) {
109 } 109 }
110 // Function JS_EFFECT: (Function) → void 110 // Function JS_EFFECT: (Function) → void
111 function JS_EFFECT(code) { 111 function JS_EFFECT(code) {
112 dart.dcall(code, null); 112 dart.dcall(code, null);
113 } 113 }
114 class JS_CONST extends core.Object { 114 class JS_CONST extends core.Object {
115 JS_CONST(code) { 115 JS_CONST(code) {
116 this.code = code; 116 dart.initField(JS_CONST, this, 'code', code);
117 } 117 }
118 } 118 }
119 // Function JS_STRING_CONCAT: (String, String) → String 119 // Function JS_STRING_CONCAT: (String, String) → String
120 function JS_STRING_CONCAT(a, b) { 120 function JS_STRING_CONCAT(a, b) {
121 return a + b; 121 return a + b;
122 } 122 }
123 // Exports: 123 // Exports:
124 exports.JS = JS; 124 exports.JS = JS;
125 exports.JS_CURRENT_ISOLATE_CONTEXT = JS_CURRENT_ISOLATE_CONTEXT; 125 exports.JS_CURRENT_ISOLATE_CONTEXT = JS_CURRENT_ISOLATE_CONTEXT;
126 exports.IsolateContext = IsolateContext; 126 exports.IsolateContext = IsolateContext;
(...skipping 19 matching lines...) Expand all
146 exports.JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG = JS_FUNCTION_TYPE_REQUIRED_P ARAMETERS_TAG; 146 exports.JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG = JS_FUNCTION_TYPE_REQUIRED_P ARAMETERS_TAG;
147 exports.JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG = JS_FUNCTION_TYPE_OPTIONAL_P ARAMETERS_TAG; 147 exports.JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG = JS_FUNCTION_TYPE_OPTIONAL_P ARAMETERS_TAG;
148 exports.JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG = JS_FUNCTION_TYPE_NAMED_PARAMET ERS_TAG; 148 exports.JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG = JS_FUNCTION_TYPE_NAMED_PARAMET ERS_TAG;
149 exports.JS_GET_NAME = JS_GET_NAME; 149 exports.JS_GET_NAME = JS_GET_NAME;
150 exports.JS_EMBEDDED_GLOBAL = JS_EMBEDDED_GLOBAL; 150 exports.JS_EMBEDDED_GLOBAL = JS_EMBEDDED_GLOBAL;
151 exports.JS_GET_FLAG = JS_GET_FLAG; 151 exports.JS_GET_FLAG = JS_GET_FLAG;
152 exports.JS_EFFECT = JS_EFFECT; 152 exports.JS_EFFECT = JS_EFFECT;
153 exports.JS_CONST = JS_CONST; 153 exports.JS_CONST = JS_CONST;
154 exports.JS_STRING_CONCAT = JS_STRING_CONCAT; 154 exports.JS_STRING_CONCAT = JS_STRING_CONCAT;
155 })(_foreign_helper || (_foreign_helper = {})); 155 })(_foreign_helper || (_foreign_helper = {}));
OLDNEW
« no previous file with comments | « no previous file | lib/runtime/dart/_internal.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698