Skip to content

Commit c937d58

Browse files
committed
Merge pull request 'fibers' (dart-lang#6) from fibers into main
Reviewed-on: http://git.local/dependencies/dart/pulls/6
2 parents 81b3c13 + 773d061 commit c937d58

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

runtime/vm/compiler/frontend/kernel_binary_flowgraph.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ class StreamingFlowGraphBuilder : public KernelReaderHelper {
375375

376376
// Build flow graph for '_nativeEffect'.
377377
Fragment BuildNativeEffect();
378-
378+
379379
// Build the call-site manually, to avoid doing initialization checks
380380
// for late fields.
381381
Fragment BuildReachabilityFence();

runtime/vm/compiler/runtime_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ class Thread : public AllStatic {
12971297
static word suspend_state_suspend_sync_star_at_start_entry_point_offset();
12981298

12991299
static word suspend_state_handle_exception_entry_point_offset();
1300-
1300+
13011301
static word OffsetFromThread(const dart::Object& object);
13021302
static intptr_t OffsetFromThread(const dart::RuntimeEntry* runtime_entry);
13031303
};

runtime/vm/isolate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ class Isolate : public BaseIsolate, public IntrusiveDListEntry<Isolate> {
16241624
VMTagCounters vm_tag_counters_;
16251625

16261626
// We use 6 list entries for each pending service extension calls.
1627-
enum {
1627+
enum {
16281628
kPendingHandlerIndex = 0,
16291629
kPendingMethodNameIndex,
16301630
kPendingKeysIndex,

runtime/vm/object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7039,7 +7039,7 @@ class Code : public Object {
70397039

70407040
// Layout of entries describing comments.
70417041
enum {
7042-
kPCOffsetEntry = 0, // PC offset to a comment as a Smi.
7042+
kPCOffsetEntry = 0, // PC offset to a comment as a Smi.
70437043
kCommentEntry, // Comment text as a String.
70447044
kNumberOfEntries
70457045
};

sdk.code-workspace

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,28 @@
5555
"tests",
5656
"runtime/tests",
5757
"runtime/observatory/tests",
58+
5859
// We don't control the third_party code, so don't analyze it.
5960
// It includes old Dart examples (e.g. protobuf) or README.dart
6061
// files which don't actually contain dart code and thus don't
6162
// analyze cleanly.
6263
"third_party",
6364
"runtime/third_party",
65+
6466
// This package depends on a package that will not be brought in as a
6567
// dart-sdk dep. https://github.com/dart-lang/sdk/issues/50061
6668
"runtime/tools/heapsnapshot",
69+
6770
// We probably can include 'lib', but it currently shows too many errors.
6871
// We would need to ignore import_internal_library, and other warnings
6972
// on a per-file basis, since the analyzer is designed to work with
7073
// user code not sdk code.
7174
"sdk/lib",
75+
7276
// I would have expected the analyzer to automatically exclude these
7377
// since it's in .gitignore, but it doesn't seem to.
7478
"xcodebuild",
7579
"out",
7680
],
7781
},
78-
}
82+
}

0 commit comments

Comments
 (0)