DescriptionAdd getTarget method to CompilerCommandLine
The method is used to create an instance of a backend target class.
CompilerCommandLine already has the necessary information for this ("target"
name string and "strongMode" flag). Additionally, a backed target instance is
now not created in fasta.dart/parseScriptInFileSystem, but should be passed at
the call site.
R=ahe@google.com, scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/aa8ca9244a3cc5fa7c3816a9340558e7d2f37ae1
Patch Set 1 #
Total comments: 8
Patch Set 2 : Cache backend target eagerly during verification #
Total comments: 2
Patch Set 3 : Fix typo in error message #Patch Set 4 : Adjust CL to the changes in "master" #
Messages
Total messages: 9 (2 generated)
|