This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -85,29 +85,6 @@ Future<developer.ServiceExtensionResponse> _getImpellerEnabled(
8585
8686const bool _kReleaseMode = bool .fromEnvironment ('dart.vm.product' );
8787
88- /// Returns runtime Dart compilation trace as a UTF-8 encoded memory buffer.
89- ///
90- /// The buffer contains a list of symbols compiled by the Dart JIT at runtime up
91- /// to the point when this function was called. This list can be saved to a text
92- /// file and passed to tools such as `flutter build` or Dart `gen_snapshot` in
93- /// order to pre-compile this code offline.
94- ///
95- /// The list has one symbol per line of the following format:
96- /// `<namespace>,<class>,<symbol>\n` .
97- ///
98- /// Here are some examples:
99- ///
100- /// ```csv
101- /// dart:core,Duration,get:inMilliseconds
102- /// package:flutter/src/widgets/binding.dart,::,runApp
103- /// file:///.../my_app.dart,::,main
104- /// ```
105- ///
106- /// This function is only effective in debug and dynamic modes, and will throw in AOT mode.
107- List <int > saveCompilationTrace () {
108- throw UnimplementedError ();
109- }
110-
11188@Native < Void Function (Handle )> (symbol: 'DartRuntimeHooks::ScheduleMicrotask' )
11289external void _scheduleMicrotask (void Function () callback);
11390
Original file line number Diff line number Diff line change @@ -16,10 +16,3 @@ class DartPluginRegistrant {
1616 '`ensureInitialized` is not implemented on the web.' );
1717 }
1818}
19-
20- List <int > saveCompilationTrace () {
21- assert (
22- throw UnimplementedError ('saveCompilationTrace is not implemented on the web.' ),
23- );
24- throw UnimplementedError ();
25- }
You can’t perform that action at this time.
0 commit comments