[vm] Update to variadic FATAL.

TEST=ci
Change-Id: Ic6bc784605e10760bb28ea6df34242336a33b4d0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286947
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak
2023-03-06 22:06:59 +00:00
committed by Commit Queue
parent c9e29fa85f
commit 63e6041ca9
78 changed files with 295 additions and 308 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ namespace dart {
static void* Allocate(uword size, Zone* zone) {
ASSERT(zone != NULL);
if (size > static_cast<uword>(kIntptrMax)) {
FATAL1("ZoneAllocated object has unexpectedly large size %" Pu "", size);
FATAL("ZoneAllocated object has unexpectedly large size %" Pu "", size);
}
return reinterpret_cast<void*>(zone->AllocUnsafe(size));
}