Index: runtime/lib/async_patch.dart |
diff --git a/runtime/lib/async_patch.dart b/runtime/lib/async_patch.dart |
index 6cc9a16abac123436bd676170c76cf9a690f3929..d41a72153920d69aa01c6d82da212b620b193154 100644 |
--- a/runtime/lib/async_patch.dart |
+++ b/runtime/lib/async_patch.dart |
@@ -190,3 +190,14 @@ class _AsyncStarStreamController { |
} |
@patch void _rethrow(Object error, StackTrace stackTrace) native "Async_rethrow"; |
+ |
+ |
+/// Returns a [StackTrace] object containing the synchronous prefix for this |
+/// asynchronous method. |
+Object _asyncStackTraceHelper() native "StackTrace_asyncStackTraceHelper"; |
+ |
+void _clearAsyncThreadStackTrace() |
+ native "StackTrace_clearAsyncThreadStackTrace"; |
+ |
+void _setAsyncThreadStackTrace(StackTrace stackTrace) native |
+ "StackTrace_setAsyncThreadStackTrace"; |