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

Side by Side Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 2392863002: Roll kernel to latest (Closed)
Patch Set: Reinsert code Created 4 years, 2 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 | « DEPS ('k') | pkg/compiler/lib/src/js_backend/kernel_task.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library js_backend.backend; 5 library js_backend.backend;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 9 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
10 10
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after
2363 if (!enqueuer.queueIsEmpty) return false; 2363 if (!enqueuer.queueIsEmpty) return false;
2364 2364
2365 noSuchMethodRegistry.onQueueEmpty(); 2365 noSuchMethodRegistry.onQueueEmpty();
2366 if (!enabledNoSuchMethod && 2366 if (!enabledNoSuchMethod &&
2367 (noSuchMethodRegistry.hasThrowingNoSuchMethod || 2367 (noSuchMethodRegistry.hasThrowingNoSuchMethod ||
2368 noSuchMethodRegistry.hasComplexNoSuchMethod)) { 2368 noSuchMethodRegistry.hasComplexNoSuchMethod)) {
2369 enableNoSuchMethod(enqueuer); 2369 enableNoSuchMethod(enqueuer);
2370 enabledNoSuchMethod = true; 2370 enabledNoSuchMethod = true;
2371 } 2371 }
2372 2372
2373 if (compiler.options.useKernel) { 2373 if (compiler.options.useKernel && compiler.mainApp != null) {
2374 kernelTask.buildKernelIr(); 2374 kernelTask.buildKernelIr();
2375 } 2375 }
2376 2376
2377 if (compiler.options.hasIncrementalSupport) { 2377 if (compiler.options.hasIncrementalSupport) {
2378 // Always enable tear-off closures during incremental compilation. 2378 // Always enable tear-off closures during incremental compilation.
2379 Element e = helpers.closureFromTearOff; 2379 Element e = helpers.closureFromTearOff;
2380 if (e != null && !enqueuer.isProcessed(e)) { 2380 if (e != null && !enqueuer.isProcessed(e)) {
2381 registerBackendUse(e); 2381 registerBackendUse(e);
2382 enqueuer.addToWorkList(e); 2382 enqueuer.addToWorkList(e);
2383 } 2383 }
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
3265 ClassElement get mapImplementation => helpers.mapLiteralClass; 3265 ClassElement get mapImplementation => helpers.mapLiteralClass;
3266 ClassElement get constMapImplementation => helpers.constMapLiteralClass; 3266 ClassElement get constMapImplementation => helpers.constMapLiteralClass;
3267 ClassElement get typeImplementation => helpers.typeLiteralClass; 3267 ClassElement get typeImplementation => helpers.typeLiteralClass;
3268 ClassElement get boolImplementation => helpers.jsBoolClass; 3268 ClassElement get boolImplementation => helpers.jsBoolClass;
3269 ClassElement get nullImplementation => helpers.jsNullClass; 3269 ClassElement get nullImplementation => helpers.jsNullClass;
3270 ClassElement get syncStarIterableImplementation => helpers.syncStarIterable; 3270 ClassElement get syncStarIterableImplementation => helpers.syncStarIterable;
3271 ClassElement get asyncFutureImplementation => helpers.futureImplementation; 3271 ClassElement get asyncFutureImplementation => helpers.futureImplementation;
3272 ClassElement get asyncStarStreamImplementation => helpers.controllerStream; 3272 ClassElement get asyncStarStreamImplementation => helpers.controllerStream;
3273 ClassElement get functionImplementation => helpers.coreClasses.functionClass; 3273 ClassElement get functionImplementation => helpers.coreClasses.functionClass;
3274 } 3274 }
OLDNEW
« no previous file with comments | « DEPS ('k') | pkg/compiler/lib/src/js_backend/kernel_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698