Index: runtime/bin/isolate_data.h |
diff --git a/runtime/bin/isolate_data.h b/runtime/bin/isolate_data.h |
index 505081e06304ceb79f9e10c02f52eaa7d262fcdb..fea458cc4ecafe47832a8ed15c91f92720bc18ae 100644 |
--- a/runtime/bin/isolate_data.h |
+++ b/runtime/bin/isolate_data.h |
@@ -10,6 +10,14 @@ |
#include "platform/globals.h" |
namespace dart { |
+ |
+// Forward declaration. |
+template <typename T> |
+class MallocGrowableArray; |
+ |
+} // namespace dart |
+ |
+namespace dart { |
namespace bin { |
// Forward declaration. |
@@ -55,11 +63,16 @@ class IsolateData { |
ASSERT((loader_ == NULL) || (loader == NULL)); |
loader_ = loader; |
} |
+ MallocGrowableArray<char*>* dependencies() const { return dependencies_; } |
+ void set_dependencies(MallocGrowableArray<char*>* deps) { |
+ dependencies_ = deps; |
+ } |
private: |
Dart_Handle builtin_lib_; |
Loader* loader_; |
AppSnapshot* app_snapshot_; |
+ MallocGrowableArray<char*>* dependencies_; |
DISALLOW_COPY_AND_ASSIGN(IsolateData); |
}; |