| Index: pkg/compiler/lib/src/common/backend_api.dart
|
| diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
|
| index 05a2082acd1f493e466af28277e4dbd3c1327f93..7949d099a026c2bb43f5762ec87775c2ca7e5eef 100644
|
| --- a/pkg/compiler/lib/src/common/backend_api.dart
|
| +++ b/pkg/compiler/lib/src/common/backend_api.dart
|
| @@ -376,8 +376,10 @@ abstract class Backend {
|
| void registerAsyncMarker(
|
| FunctionElement element, Enqueuer enqueuer, Registry registry) {}
|
|
|
| - /// Called when resolving a call to a foreign function.
|
| - void registerForeignCall(Send node, Element element,
|
| + /// Called when resolving a call to a foreign function. If a non-null value
|
| + /// is returned, this is stored as native data for [node] in the resolved
|
| + /// AST.
|
| + dynamic resolveForeignCall(Send node, Element element,
|
| CallStructure callStructure, ForeignResolver resolver) {}
|
|
|
| /// Returns the location of the patch-file associated with [libraryName]
|
|
|