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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Eliminate top level libraries from loader Created 5 years, 6 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('dart/_foreign_helper', null, /* Imports */[ 1 loader.library('dart/_foreign_helper', null, /* Imports */[
2 "dart/dart_runtime",
3 "dart/dartx",
2 'dart/core' 4 'dart/core'
3 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
4 ], function(exports, core) { 6 ], function(exports, dart, dartx, core) {
5 'use strict'; 7 'use strict';
6 function JS(typeDescription, codeTemplate, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) { 8 function JS(typeDescription, codeTemplate, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
7 if (arg0 === void 0) 9 if (arg0 === void 0)
8 arg0 = null; 10 arg0 = null;
9 if (arg1 === void 0) 11 if (arg1 === void 0)
10 arg1 = null; 12 arg1 = null;
11 if (arg2 === void 0) 13 if (arg2 === void 0)
12 arg2 = null; 14 arg2 = null;
13 if (arg3 === void 0) 15 if (arg3 === void 0)
14 arg3 = null; 16 arg3 = null;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 exports.JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG = JS_FUNCTION_TYPE_REQUIRED_P ARAMETERS_TAG; 153 exports.JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG = JS_FUNCTION_TYPE_REQUIRED_P ARAMETERS_TAG;
152 exports.JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG = JS_FUNCTION_TYPE_OPTIONAL_P ARAMETERS_TAG; 154 exports.JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG = JS_FUNCTION_TYPE_OPTIONAL_P ARAMETERS_TAG;
153 exports.JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG = JS_FUNCTION_TYPE_NAMED_PARAMET ERS_TAG; 155 exports.JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG = JS_FUNCTION_TYPE_NAMED_PARAMET ERS_TAG;
154 exports.JS_GET_NAME = JS_GET_NAME; 156 exports.JS_GET_NAME = JS_GET_NAME;
155 exports.JS_EMBEDDED_GLOBAL = JS_EMBEDDED_GLOBAL; 157 exports.JS_EMBEDDED_GLOBAL = JS_EMBEDDED_GLOBAL;
156 exports.JS_GET_FLAG = JS_GET_FLAG; 158 exports.JS_GET_FLAG = JS_GET_FLAG;
157 exports.JS_EFFECT = JS_EFFECT; 159 exports.JS_EFFECT = JS_EFFECT;
158 exports.JS_CONST = JS_CONST; 160 exports.JS_CONST = JS_CONST;
159 exports.JS_STRING_CONCAT = JS_STRING_CONCAT; 161 exports.JS_STRING_CONCAT = JS_STRING_CONCAT;
160 }); 162 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698