| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index ff03db8a57b73222977385e0dac50e0d8b13f121..b9f842e7670a306066f30e3f221196ff77e102bf 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -1114,8 +1114,6 @@ class Isolate {
|
| BasicBlockProfiler* GetOrCreateBasicBlockProfiler();
|
| BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; }
|
|
|
| - static Isolate* NewForTesting() { return new Isolate(false); }
|
| -
|
| std::string GetTurboCfgFileName();
|
|
|
| #if TRACE_MAPS
|
| @@ -1145,6 +1143,13 @@ class Isolate {
|
|
|
| List<Object*>* partial_snapshot_cache() { return &partial_snapshot_cache_; }
|
|
|
| + void set_array_buffer_allocator(v8::ArrayBuffer::Allocator* allocator) {
|
| + array_buffer_allocator_ = allocator;
|
| + }
|
| + v8::ArrayBuffer::Allocator* array_buffer_allocator() const {
|
| + return array_buffer_allocator_;
|
| + }
|
| +
|
| protected:
|
| explicit Isolate(bool enable_serializer);
|
|
|
| @@ -1369,6 +1374,8 @@ class Isolate {
|
|
|
| List<Object*> partial_snapshot_cache_;
|
|
|
| + v8::ArrayBuffer::Allocator* array_buffer_allocator_;
|
| +
|
| friend class ExecutionAccess;
|
| friend class HandleScopeImplementer;
|
| friend class OptimizingCompileDispatcher;
|
|
|