Chromium Code Reviews| Index: sdk/lib/internal/internal.dart |
| diff --git a/sdk/lib/internal/internal.dart b/sdk/lib/internal/internal.dart |
| index 3eda7caf55b4869b81c973dcfa585edd50bae76f..0acf068b50b01a90b95843f6ca01893aeaae40b5 100644 |
| --- a/sdk/lib/internal/internal.dart |
| +++ b/sdk/lib/internal/internal.dart |
| @@ -60,3 +60,12 @@ class CodeUnits extends UnmodifiableListBase<int> { |
| static String stringOf(CodeUnits u) => u._string; |
| } |
| + |
| +/// Marks a function as an external implementation ("native" in the Dart VM). |
| +/// |
| +/// Provides a backend-specific String that can be used to identify the |
| +/// function's implementation. |
| +class ExternalName { |
|
Florian Schneider
2016/10/21 15:36:09
Where is this class used?
Vyacheslav Egorov (Google)
2016/10/21 15:55:32
It is used in the internals of Dart -> Kernel comp
Florian Schneider
2016/10/21 17:16:02
Thanks!
|
| + final String name; |
| + const ExternalName(this.name); |
| +} |