| Index: runtime/vm/unit_test.cc
|
| ===================================================================
|
| --- runtime/vm/unit_test.cc (revision 44266)
|
| +++ runtime/vm/unit_test.cc (working copy)
|
| @@ -275,10 +275,10 @@
|
|
|
|
|
| bool CompilerTest::TestCompileFunction(const Function& function) {
|
| - Isolate* isolate = Isolate::Current();
|
| - ASSERT(isolate != NULL);
|
| + Thread* thread = Thread::Current();
|
| + ASSERT(thread != NULL);
|
| ASSERT(ClassFinalizer::AllClassesFinalized());
|
| - const Error& error = Error::Handle(Compiler::CompileFunction(isolate,
|
| + const Error& error = Error::Handle(Compiler::CompileFunction(thread,
|
| function));
|
| return error.IsNull();
|
| }
|
|
|