| Index: runtime/vm/benchmark_test.cc
|
| diff --git a/runtime/vm/benchmark_test.cc b/runtime/vm/benchmark_test.cc
|
| index 900a689a3d8152610165f4eb8fb6b27265a35b0f..9fcb4d00fdc85a8a333d58389e7287085f994ba4 100644
|
| --- a/runtime/vm/benchmark_test.cc
|
| +++ b/runtime/vm/benchmark_test.cc
|
| @@ -41,7 +41,7 @@ BENCHMARK(CorelibCompileAll) {
|
| bin::Builtin::SetNativeResolver(bin::Builtin::kIOLibrary);
|
| Timer timer(true, "Compile all of Core lib benchmark");
|
| timer.Start();
|
| - const Error& error = Error::Handle(benchmark->isolate(),
|
| + const Error& error = Error::Handle(benchmark->isolate()->current_zone(),
|
| Library::CompileAll());
|
| if (!error.IsNull()) {
|
| OS::PrintErr("Unexpected error in CorelibCompileAll benchmark:\n%s",
|
| @@ -61,7 +61,7 @@ BENCHMARK(CorelibCompilerStats) {
|
| stats->EnableBenchmark();
|
| Timer timer(true, "Compiler stats compiling all of Core lib");
|
| timer.Start();
|
| - const Error& error = Error::Handle(benchmark->isolate(),
|
| + const Error& error = Error::Handle(benchmark->isolate()->current_zone(),
|
| Library::CompileAll());
|
| if (!error.IsNull()) {
|
| OS::PrintErr("Unexpected error in CorelibCompileAll benchmark:\n%s",
|
|
|