Index: runtime/vm/benchmark_test.h |
diff --git a/runtime/vm/benchmark_test.h b/runtime/vm/benchmark_test.h |
index 615965ca5a0c69cfc8735ac59d6f8c1e5745017e..f83f078bb735e8254f779bbece9bf039274b9077 100644 |
--- a/runtime/vm/benchmark_test.h |
+++ b/runtime/vm/benchmark_test.h |
@@ -7,6 +7,8 @@ |
#include "include/dart_api.h" |
+#include "bin/isolate_data.h" |
+ |
#include "vm/dart.h" |
#include "vm/globals.h" |
#include "vm/heap.h" |
@@ -82,8 +84,9 @@ class Benchmark { |
Isolate* isolate() const { return reinterpret_cast<Isolate*>(isolate_); } |
Dart_Isolate CreateIsolate(const uint8_t* buffer) { |
+ bin::IsolateData* isolate_data = new bin::IsolateData(NULL, NULL, NULL); |
char* err = NULL; |
- isolate_ = Dart_CreateIsolate(NULL, NULL, buffer, NULL, NULL, &err); |
+ isolate_ = Dart_CreateIsolate(NULL, NULL, buffer, NULL, isolate_data, &err); |
EXPECT(isolate_ != NULL); |
free(err); |
return isolate_; |