diff options
Diffstat (limited to 'deps/v8/src/bootstrapper.h')
-rw-r--r-- | deps/v8/src/bootstrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/bootstrapper.h b/deps/v8/src/bootstrapper.h index 309780039..bac9f4037 100644 --- a/deps/v8/src/bootstrapper.h +++ b/deps/v8/src/bootstrapper.h @@ -44,8 +44,8 @@ class SourceCodeCache BASE_EMBEDDED { public: explicit SourceCodeCache(Script::Type type): type_(type), cache_(NULL) { } - void Initialize(bool create_heap_objects) { - cache_ = create_heap_objects ? HEAP->empty_fixed_array() : NULL; + void Initialize(Isolate* isolate, bool create_heap_objects) { + cache_ = create_heap_objects ? isolate->heap()->empty_fixed_array() : NULL; } void Iterate(ObjectVisitor* v) { |