[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:
Daco Harkes 2022-11-24 13:02:49 +00:00 committed by Commit Queue
parent 563ef79195
commit da74af72c4

View file

@ -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);