Index: runtime/vm/kernel_binary.cc |
diff --git a/runtime/vm/kernel_binary.cc b/runtime/vm/kernel_binary.cc |
index ec71cd838da1887d5715c868118aa40ec8a3ae88..a90ad37055c455b3722b85d9aa78da14a193cf0e 100644 |
--- a/runtime/vm/kernel_binary.cc |
+++ b/runtime/vm/kernel_binary.cc |
@@ -191,8 +191,8 @@ class BlockStack { |
private: |
int current_count_; |
- GrowableArray<T*> variables_; |
- GrowableArray<int> variable_count_; |
+ MallocGrowableArray<T*> variables_; |
+ MallocGrowableArray<int> variable_count_; |
}; |
@@ -213,7 +213,7 @@ class BlockMap { |
} |
int Lookup(T* object) { |
- typename Map<T, int>::Pair* result = variables_.LookupPair(object); |
+ typename MallocMap<T, int>::Pair* result = variables_.LookupPair(object); |
ASSERT(result != NULL); |
if (result == NULL) FATAL("lookup failure"); |
return RawPointerKeyValueTrait<T, int>::ValueOf(*result); |
@@ -227,7 +227,7 @@ class BlockMap { |
} |
void Set(T* v, int index) { |
- typename Map<T, int>::Pair* entry = variables_.LookupPair(v); |
+ typename MallocMap<T, int>::Pair* entry = variables_.LookupPair(v); |
ASSERT(entry != NULL); |
entry->value = index; |
} |
@@ -246,8 +246,8 @@ class BlockMap { |
private: |
int current_count_; |
int stack_height_; |
- Map<T, int> variables_; |
- GrowableArray<int> variable_count_; |
+ MallocMap<T, int> variables_; |
+ MallocGrowableArray<int> variable_count_; |
}; |