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

Unified Diff: runtime/vm/intermediate_language.h

Issue 1288863006: Use zone allocated growable array to populate interim static and stub calls table, thus allocating … (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: add comment Created 5 years, 4 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
Index: runtime/vm/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index 9bae137f675b8bb06a79ebe4ef5f09ced9b1c211..b0cbbd85fd68e53cd05b8bdf13f3b28a9740c4ea 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -3473,7 +3473,7 @@ class StoreInstanceFieldInstr : public TemplateDefinition<2, NoThrow> {
Value* value,
StoreBarrierType emit_store_barrier,
intptr_t token_pos)
- : field_(Field::Handle()),
+ : field_(Field::ZoneHandle()),
offset_in_bytes_(offset_in_bytes),
emit_store_barrier_(emit_store_barrier),
token_pos_(token_pos),
@@ -3875,7 +3875,7 @@ class StringInterpolateInstr : public TemplateDefinition<1, Throws> {
StringInterpolateInstr(Value* value, intptr_t token_pos)
: TemplateDefinition(Isolate::Current()->GetNextDeoptId()),
token_pos_(token_pos),
- function_(Function::Handle()) {
+ function_(Function::ZoneHandle()) {
SetInputAt(0, value);
}

Powered by Google App Engine
This is Rietveld 408576698