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

Unified Diff: sdk/lib/internal/internal.dart

Issue 2434123003: Merge more Kernel infrastructure from kernel_sdk SDK fork. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
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 {
+ final String name;
+ const ExternalName(this.name);
+}

Powered by Google App Engine
This is Rietveld 408576698