Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: runtime/vm/kernel_binary.cc

Issue 2655463005: Switched from GrowableArray to MallocGrowableArray to fix crash caused by no isolate/thread existin… (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel_binary.cc
diff --git a/runtime/vm/kernel_binary.cc b/runtime/vm/kernel_binary.cc
index ec71cd838da1887d5715c868118aa40ec8a3ae88..2385306e28bb81e077424c685dbd1cf49ebbdb77 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_;
};
@@ -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_;
};
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698