| Index: pkg/front_end/lib/src/fasta/target_implementation.dart | 
| diff --git a/pkg/front_end/lib/src/fasta/target_implementation.dart b/pkg/front_end/lib/src/fasta/target_implementation.dart | 
| index fbf5b56af3a721ccbfe9ebb007b2fa78a2358593..708795af65bb2c1722f76b4e9d4e9c4b58a04487 100644 | 
| --- a/pkg/front_end/lib/src/fasta/target_implementation.dart | 
| +++ b/pkg/front_end/lib/src/fasta/target_implementation.dart | 
| @@ -37,7 +37,7 @@ abstract class TargetImplementation extends Target { | 
|  | 
| /// Creates a [LibraryBuilder] corresponding to [uri], if one doesn't exist | 
| /// already. | 
| -  LibraryBuilder createLibraryBuilder(Uri uri, Uri fileUri); | 
| +  LibraryBuilder createLibraryBuilder(Uri uri, Uri fileUri, bool isPatch); | 
|  | 
| /// Add the classes extended or implemented directly by [cls] to [set]. | 
| void addDirectSupertype(ClassBuilder cls, Set<ClassBuilder> set); | 
| @@ -95,4 +95,14 @@ abstract class TargetImplementation extends Target { | 
|  | 
| void addSourceInformation( | 
| Uri uri, List<int> lineStarts, List<int> sourceCode); | 
| + | 
| +  void readPatchFiles(LibraryBuilder library) { | 
| +    assert(library.uri.scheme == "dart"); | 
| +    List<Uri> patches = uriTranslator.patches[library.uri.path]; | 
| +    if (patches != null) { | 
| +      for (Uri patch in patches) { | 
| +        library.loader.read(patch, -1, fileUri: patch, isPatch: true); | 
| +      } | 
| +    } | 
| +  } | 
| } | 
|  |