mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 19:18:27 +00:00
[vm] Fix GCC build
https://dart-review.googlesource.com/c/sdk/+/264520 caused the GCC build to fail with ambiguous overload for ‘operator<<’ with nullptr. TEST=luci.dart.try:vm-kernel-gcc-linux-try Change-Id: Idf452b4de9bd956ae0d19d6355273982a7c59330 Cq-Include-Trybots: luci.dart.try:vm-kernel-gcc-linux-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/271900 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
parent
563ef79195
commit
da74af72c4
|
@ -10577,8 +10577,8 @@ TEST_CASE(DartAPI_HeapSampling) {
|
|||
last_isolate_group_data = nullptr;
|
||||
USE(Dart_NewList(10));
|
||||
EXPECT_EQ(heap_samples, 0);
|
||||
EXPECT_EQ(last_allocation_cls, nullptr);
|
||||
EXPECT_EQ(last_isolate_group_data, nullptr);
|
||||
EXPECT_NULLPTR(last_allocation_cls);
|
||||
EXPECT_NULLPTR(last_isolate_group_data);
|
||||
|
||||
// Clear heap sampling callback state.
|
||||
Dart_RegisterHeapSamplingCallback(nullptr);
|
||||
|
|
Loading…
Reference in a new issue