| Index: runtime/vm/benchmark_test.cc
|
| ===================================================================
|
| --- runtime/vm/benchmark_test.cc (revision 16679)
|
| +++ runtime/vm/benchmark_test.cc (working copy)
|
| @@ -272,6 +272,8 @@
|
| char* dart_root = ComputeDart2JSPath(Benchmark::Executable());
|
| char* script = NULL;
|
| if (dart_root != NULL) {
|
| + Isolate* isolate = Isolate::Current();
|
| + HANDLESCOPE(isolate);
|
| const char* kFormatStr =
|
| "import '%s/sdk/lib/_internal/compiler/compiler.dart';";
|
| intptr_t len = OS::SNPrint(NULL, 0, kFormatStr, dart_root) + 1;
|
|
|