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

Side by Side Diff: pkg/compiler/lib/src/dart2js.dart

Issue 2378113004: Some kernel->ssa cleanups. (Closed)
Patch Set: fix import 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 | « no previous file | pkg/compiler/lib/src/ssa/builder.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 dart2js.cmdline; 5 library dart2js.cmdline;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 import 'dart:convert' show UTF8, LineSplitter; 8 import 'dart:convert' show UTF8, LineSplitter;
9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr; 9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr;
10 10
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 new OptionHandler('--package-root=.+|-p.+', setPackageRoot), 358 new OptionHandler('--package-root=.+|-p.+', setPackageRoot),
359 new OptionHandler(Flags.analyzeAll, setAnalyzeAll), 359 new OptionHandler(Flags.analyzeAll, setAnalyzeAll),
360 new OptionHandler(Flags.analyzeOnly, setAnalyzeOnly), 360 new OptionHandler(Flags.analyzeOnly, setAnalyzeOnly),
361 new OptionHandler(Flags.noSourceMaps, passThrough), 361 new OptionHandler(Flags.noSourceMaps, passThrough),
362 new OptionHandler(Option.resolutionInput, setResolutionInput), 362 new OptionHandler(Option.resolutionInput, setResolutionInput),
363 new OptionHandler(Option.bazelPaths, setBazelPaths), 363 new OptionHandler(Option.bazelPaths, setBazelPaths),
364 new OptionHandler(Flags.resolveOnly, setResolveOnly), 364 new OptionHandler(Flags.resolveOnly, setResolveOnly),
365 new OptionHandler(Flags.analyzeSignaturesOnly, setAnalyzeOnly), 365 new OptionHandler(Flags.analyzeSignaturesOnly, setAnalyzeOnly),
366 new OptionHandler(Flags.disableNativeLiveTypeAnalysis, passThrough), 366 new OptionHandler(Flags.disableNativeLiveTypeAnalysis, passThrough),
367 new OptionHandler('--categories=.*', setCategories), 367 new OptionHandler('--categories=.*', setCategories),
368 new OptionHandler(Flags.disableInlining, implyCompilation),
368 new OptionHandler(Flags.disableTypeInference, implyCompilation), 369 new OptionHandler(Flags.disableTypeInference, implyCompilation),
369 new OptionHandler(Flags.terse, passThrough), 370 new OptionHandler(Flags.terse, passThrough),
370 new OptionHandler('--deferred-map=.+', implyCompilation), 371 new OptionHandler('--deferred-map=.+', implyCompilation),
371 new OptionHandler(Flags.dumpInfo, implyCompilation), 372 new OptionHandler(Flags.dumpInfo, implyCompilation),
372 new OptionHandler( 373 new OptionHandler(
373 '--disallow-unsafe-eval', (_) => hasDisallowUnsafeEval = true), 374 '--disallow-unsafe-eval', (_) => hasDisallowUnsafeEval = true),
374 new OptionHandler(Option.showPackageWarnings, passThrough), 375 new OptionHandler(Option.showPackageWarnings, passThrough),
375 new OptionHandler(Flags.useContentSecurityPolicy, passThrough), 376 new OptionHandler(Flags.useContentSecurityPolicy, passThrough),
376 new OptionHandler(Flags.enableExperimentalMirrors, passThrough), 377 new OptionHandler(Flags.enableExperimentalMirrors, passThrough),
377 new OptionHandler(Flags.enableAssertMessage, passThrough), 378 new OptionHandler(Flags.enableAssertMessage, passThrough),
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 @override 1030 @override
1030 void close() { 1031 void close() {
1031 // Do nothing. 1032 // Do nothing.
1032 } 1033 }
1033 1034
1034 @override 1035 @override
1035 void addError(errorEvent, [StackTrace stackTrace]) { 1036 void addError(errorEvent, [StackTrace stackTrace]) {
1036 // Ignore 1037 // Ignore
1037 } 1038 }
1038 } 1039 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698