[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:
committed by
Commit Queue
parent
c9e29fa85f
commit
63e6041ca9
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user