| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 4e2fb0c77ca17df4139cfe296e754245ee072fcf..a2de9b936dc4e2c184a4c754129f881a68bbdabd 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -9703,7 +9703,7 @@ RawBigint* Bigint::Allocate(intptr_t length, Heap::Space space) {
|
|
|
|
|
| static uword BigintAllocator(intptr_t size) {
|
| - StackZone* zone = Isolate::Current()->current_zone();
|
| + Zone* zone = Isolate::Current()->current_zone();
|
| return zone->AllocUnsafe(size);
|
| }
|
|
|
| @@ -10215,7 +10215,7 @@ RawString* String::NewFormattedV(const char* format, va_list args) {
|
| intptr_t len = OS::VSNPrint(NULL, 0, format, args_copy);
|
| va_end(args_copy);
|
|
|
| - StackZone* zone = Isolate::Current()->current_zone();
|
| + Zone* zone = Isolate::Current()->current_zone();
|
| char* buffer = zone->Alloc<char>(len + 1);
|
| OS::VSNPrint(buffer, (len + 1), format, args);
|
|
|
| @@ -10320,7 +10320,7 @@ RawString* String::SubString(const String& str,
|
|
|
| const char* String::ToCString() const {
|
| intptr_t len = Utf8::Length(*this);
|
| - StackZone* zone = Isolate::Current()->current_zone();
|
| + Zone* zone = Isolate::Current()->current_zone();
|
| char* result = zone->Alloc<char>(len + 1);
|
| Utf8::Encode(*this, result, len);
|
| result[len] = 0;
|
|
|