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

Unified Diff: runtime/vm/aot_optimizer.cc

Issue 1726063002: Fix assertion in precompiler. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/aot_optimizer.cc
diff --git a/runtime/vm/aot_optimizer.cc b/runtime/vm/aot_optimizer.cc
index 371b98fee7bd127f6c010bf888b08a3aaaeb5be9..63c13f59676198c07f4c52de481032496813d499 100644
--- a/runtime/vm/aot_optimizer.cc
+++ b/runtime/vm/aot_optimizer.cc
@@ -1401,9 +1401,6 @@ bool AotOptimizer::InlineImplicitInstanceGetter(InstanceCallInstr* call,
call->token_pos());
load->set_is_immutable(field.is_final());
- // No guarded cid in precompiled mode.
- ASSERT(field.guarded_cid() == kDynamicCid);
-
// Discard the environment from the original instruction because the load
// can't deoptimize.
call->RemoveEnvironment();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698