Index: runtime/vm/benchmark_test.h |
diff --git a/runtime/vm/benchmark_test.h b/runtime/vm/benchmark_test.h |
index 615965ca5a0c69cfc8735ac59d6f8c1e5745017e..357fde6b0c977752252627a6ece828c5f00d1bde 100644 |
--- a/runtime/vm/benchmark_test.h |
+++ b/runtime/vm/benchmark_test.h |
@@ -81,13 +81,7 @@ class Benchmark { |
int64_t score() const { return score_; } |
Isolate* isolate() const { return reinterpret_cast<Isolate*>(isolate_); } |
- Dart_Isolate CreateIsolate(const uint8_t* buffer) { |
- char* err = NULL; |
- isolate_ = Dart_CreateIsolate(NULL, NULL, buffer, NULL, NULL, &err); |
- EXPECT(isolate_ != NULL); |
- free(err); |
- return isolate_; |
- } |
+ Dart_Isolate CreateIsolate(const uint8_t* buffer); |
void Run() { (*run_)(this); } |
void RunBenchmark(); |