Index: src/bootstrapper.h |
diff --git a/src/bootstrapper.h b/src/bootstrapper.h |
index e6456bd707e6a3c984f424bacd7cbc3c021e3a2a..bac9f40372d9039041014cd6ba84209057d70223 100644 |
--- a/src/bootstrapper.h |
+++ b/src/bootstrapper.h |
@@ -44,9 +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 ? |
- Isolate::Current()->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) { |