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

Side by Side Diff: pkg/compiler/lib/src/kernel/fasta_support.dart

Issue 2893493004: First step for modular output in fasta. (Closed)
Patch Set: Created 3 years, 7 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 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 /// Additions to Fasta for generating .dill (Kernel IR) files with dart2js patch 5 /// Additions to Fasta for generating .dill (Kernel IR) files with dart2js patch
6 /// files and native hooks. 6 /// files and native hooks.
7 library compiler.src.kernel.fasta_support; 7 library compiler.src.kernel.fasta_support;
8 8
9 // TODO(sigmund): get rid of this file. Fasta should be agnostic of the 9 // TODO(sigmund): get rid of this file. Fasta should be agnostic of the
10 // target platform, at which point this should not be necessary. In particular, 10 // target platform, at which point this should not be necessary. In particular,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 Token skipNativeClause(Token token) => _skipNative(token); 87 Token skipNativeClause(Token token) => _skipNative(token);
88 88
89 @override 89 @override
90 String extractNativeMethodName(Token token) => null; 90 String extractNativeMethodName(Token token) => null;
91 91
92 @override 92 @override
93 void loadExtraRequiredLibraries(Loader loader) => _loadExtras(loader); 93 void loadExtraRequiredLibraries(Loader loader) => _loadExtras(loader);
94 94
95 @override 95 @override
96 void runBuildTransformations() {} 96 void runBuildTransformations() {}
97
98 @override
99 void runLinkTransformations(_) {}
100 } 97 }
101 98
102 /// Specializes [DillTarget] to build kernel for dart2js: JS-specific libraries 99 /// Specializes [DillTarget] to build kernel for dart2js: JS-specific libraries
103 /// are included in the SDK, and native clauses have no string parameter. 100 /// are included in the SDK, and native clauses have no string parameter.
104 class DillTargetForDart2js extends DillTarget { 101 class DillTargetForDart2js extends DillTarget {
105 DillTargetForDart2js(Ticker ticker, TranslateUri uriTranslator) 102 DillTargetForDart2js(Ticker ticker, TranslateUri uriTranslator)
106 : super(ticker, uriTranslator); 103 : super(ticker, uriTranslator);
107 104
108 @override 105 @override
109 Token skipNativeClause(Token token) => _skipNative(token); 106 Token skipNativeClause(Token token) => _skipNative(token);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 'dart:html_common', 152 'dart:html_common',
156 'dart:indexed_db', 153 'dart:indexed_db',
157 'dart:js', 154 'dart:js',
158 'dart:js_util', 155 'dart:js_util',
159 'dart:mirrors', 156 'dart:mirrors',
160 'dart:svg', 157 'dart:svg',
161 'dart:web_audio', 158 'dart:web_audio',
162 'dart:web_gl', 159 'dart:web_gl',
163 'dart:web_sql', 160 'dart:web_sql',
164 ]; 161 ];
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/compiler_options.dart » ('j') | pkg/front_end/lib/kernel_generator.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698