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

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

Issue 1355893003: Rewire DDC to use the analyzer task model (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 3 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/_interceptors.js » ('j') | pubspec.yaml » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('dart/_foreign_helper', null, /* Imports */[ 1 dart_library.library('dart/_foreign_helper', null, /* Imports */[
2 "dart_runtime/dart", 2 "dart_runtime/dart",
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 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) {
9 if (arg0 === void 0) 9 if (arg0 === void 0)
10 arg0 = null; 10 arg0 = null;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 dart.fn(JS_EFFECT, dart.void, [core.Function]); 111 dart.fn(JS_EFFECT, dart.void, [core.Function]);
112 class JS_CONST extends core.Object { 112 class JS_CONST extends core.Object {
113 JS_CONST(code) { 113 JS_CONST(code) {
114 this.code = code; 114 this.code = code;
115 } 115 }
116 } 116 }
117 dart.setSignature(JS_CONST, { 117 dart.setSignature(JS_CONST, {
118 constructors: () => ({JS_CONST: [JS_CONST, [core.String]]}) 118 constructors: () => ({JS_CONST: [JS_CONST, [core.String]]})
119 }); 119 });
120 function JS_STRING_CONCAT(a, b) { 120 function JS_STRING_CONCAT(a, b) {
121 return a + b; 121 return dart.as(a + b, core.String);
Jennifer Messerly 2015/09/19 00:18:46 what happened here? This returns String: String J
Jennifer Messerly 2015/09/19 00:27:51 Ah, could be we lost this code: https://github.com
Leaf 2015/09/21 17:15:59 Yes, I have't pulled this over yet. I was a littl
Jennifer Messerly 2015/09/21 18:18:59 yup, see here: https://github.com/dart-lang/sdk/bl
122 } 122 }
123 dart.fn(JS_STRING_CONCAT, core.String, [core.String, core.String]); 123 dart.fn(JS_STRING_CONCAT, core.String, [core.String, core.String]);
124 // Exports: 124 // Exports:
125 exports.JS = JS; 125 exports.JS = JS;
126 exports.JS_CURRENT_ISOLATE_CONTEXT = JS_CURRENT_ISOLATE_CONTEXT; 126 exports.JS_CURRENT_ISOLATE_CONTEXT = JS_CURRENT_ISOLATE_CONTEXT;
127 exports.IsolateContext = IsolateContext; 127 exports.IsolateContext = IsolateContext;
128 exports.JS_CALL_IN_ISOLATE = JS_CALL_IN_ISOLATE; 128 exports.JS_CALL_IN_ISOLATE = JS_CALL_IN_ISOLATE;
129 exports.JS_SET_CURRENT_ISOLATE = JS_SET_CURRENT_ISOLATE; 129 exports.JS_SET_CURRENT_ISOLATE = JS_SET_CURRENT_ISOLATE;
130 exports.JS_CREATE_ISOLATE = JS_CREATE_ISOLATE; 130 exports.JS_CREATE_ISOLATE = JS_CREATE_ISOLATE;
131 exports.JS_DART_OBJECT_CONSTRUCTOR = JS_DART_OBJECT_CONSTRUCTOR; 131 exports.JS_DART_OBJECT_CONSTRUCTOR = JS_DART_OBJECT_CONSTRUCTOR;
(...skipping 13 matching lines...) Expand all
145 exports.JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG = JS_FUNCTION_TYPE_REQUIRED_P ARAMETERS_TAG; 145 exports.JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG = JS_FUNCTION_TYPE_REQUIRED_P ARAMETERS_TAG;
146 exports.JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG = JS_FUNCTION_TYPE_OPTIONAL_P ARAMETERS_TAG; 146 exports.JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG = JS_FUNCTION_TYPE_OPTIONAL_P ARAMETERS_TAG;
147 exports.JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG = JS_FUNCTION_TYPE_NAMED_PARAMET ERS_TAG; 147 exports.JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG = JS_FUNCTION_TYPE_NAMED_PARAMET ERS_TAG;
148 exports.JS_GET_NAME = JS_GET_NAME; 148 exports.JS_GET_NAME = JS_GET_NAME;
149 exports.JS_EMBEDDED_GLOBAL = JS_EMBEDDED_GLOBAL; 149 exports.JS_EMBEDDED_GLOBAL = JS_EMBEDDED_GLOBAL;
150 exports.JS_GET_FLAG = JS_GET_FLAG; 150 exports.JS_GET_FLAG = JS_GET_FLAG;
151 exports.JS_EFFECT = JS_EFFECT; 151 exports.JS_EFFECT = JS_EFFECT;
152 exports.JS_CONST = JS_CONST; 152 exports.JS_CONST = JS_CONST;
153 exports.JS_STRING_CONCAT = JS_STRING_CONCAT; 153 exports.JS_STRING_CONCAT = JS_STRING_CONCAT;
154 }); 154 });
OLDNEW
« no previous file with comments | « no previous file | lib/runtime/dart/_interceptors.js » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698