Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 589a42d58ead1787a65805018478c4d186785010..2ea7212b972990292259aec638bf9364dd316438 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -8182,12 +8182,6 @@ Isolate* Isolate::GetCurrent() { |
Isolate* Isolate::New(const Isolate::CreateParams& params) { |
i::Isolate* isolate = new i::Isolate(false); |
- return IsolateNewImpl(isolate, params); |
-} |
- |
-// This is separate so that tests can provide a different |isolate|. |
-Isolate* IsolateNewImpl(internal::Isolate* isolate, |
- const v8::Isolate::CreateParams& params) { |
Isolate* v8_isolate = reinterpret_cast<Isolate*>(isolate); |
CHECK(params.array_buffer_allocator != NULL); |
isolate->set_array_buffer_allocator(params.array_buffer_allocator); |