| Index: runtime/vm/compiler_test.cc
|
| diff --git a/runtime/vm/compiler_test.cc b/runtime/vm/compiler_test.cc
|
| index f6431d26849e104da82910ab5f0831ddb33d4529..19e495385d8c71c0febc1c7c6365072e8d0eda0f 100644
|
| --- a/runtime/vm/compiler_test.cc
|
| +++ b/runtime/vm/compiler_test.cc
|
| @@ -183,8 +183,8 @@ TEST_CASE(RegenerateAllocStubs) {
|
| lib_handle.LookupClass(String::Handle(Symbols::New("A"))));
|
| EXPECT(!cls.IsNull());
|
|
|
| - Isolate* isolate = Isolate::Current();
|
| - const Code& stub = Code::Handle(isolate,
|
| + Zone* zone = thread->zone();
|
| + const Code& stub = Code::Handle(zone,
|
| StubCode::GetAllocationStubForClass(cls));
|
| Class& owner = Class::Handle();
|
| owner ^= stub.owner();
|
|
|