Index: src/bootstrapper.h |
diff --git a/src/bootstrapper.h b/src/bootstrapper.h |
index 30978003905ddc605838af83661d77f5860e7cca..e6456bd707e6a3c984f424bacd7cbc3c021e3a2a 100644 |
--- a/src/bootstrapper.h |
+++ b/src/bootstrapper.h |
@@ -45,7 +45,8 @@ class SourceCodeCache BASE_EMBEDDED { |
explicit SourceCodeCache(Script::Type type): type_(type), cache_(NULL) { } |
void Initialize(bool create_heap_objects) { |
- cache_ = create_heap_objects ? HEAP->empty_fixed_array() : NULL; |
+ cache_ = create_heap_objects ? |
+ Isolate::Current()->heap()->empty_fixed_array() : NULL; |
} |
void Iterate(ObjectVisitor* v) { |