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

Unified Diff: runtime/vm/redundancy_elimination.cc

Issue 2704623003: VM: [Kernel] Ensure we record [FieldLoadInstr]s in the ParsedFunction when using field guards (Closed)
Patch Set: Moved the AddToGuardedFields call to the LoadFieldInstr constructor Created 3 years, 10 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 | « runtime/vm/kernel_to_il.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/redundancy_elimination.cc
diff --git a/runtime/vm/redundancy_elimination.cc b/runtime/vm/redundancy_elimination.cc
index e8ffd2cb0bcacadb6246c643946f93b570716de2..66a287cc15db1536fa15ee8595f93d5c31753d1d 100644
--- a/runtime/vm/redundancy_elimination.cc
+++ b/runtime/vm/redundancy_elimination.cc
@@ -3081,7 +3081,7 @@ void AllocationSinking::CreateMaterializationAt(
slots[i]->IsField()
? new (Z) LoadFieldInstr(
new (Z) Value(alloc), &Field::Cast(*slots[i]),
- AbstractType::ZoneHandle(Z), alloc->token_pos())
+ AbstractType::ZoneHandle(Z), alloc->token_pos(), NULL)
: new (Z) LoadFieldInstr(
new (Z) Value(alloc), Smi::Cast(*slots[i]).Value(),
AbstractType::ZoneHandle(Z), alloc->token_pos());
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698