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

Unified Diff: runtime/vm/code_patcher_dbc.cc

Issue 1992963002: Enable optimizer pipeline for DBC. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/code_patcher_dbc.cc
diff --git a/runtime/vm/code_patcher_dbc.cc b/runtime/vm/code_patcher_dbc.cc
index e0010abf373529a37a5af0519e05cd9c965fcaaa..29c8bf20aca5c822914949ff90444e1e3d783027 100644
--- a/runtime/vm/code_patcher_dbc.cc
+++ b/runtime/vm/code_patcher_dbc.cc
@@ -31,8 +31,6 @@ void CodePatcher::PatchStaticCallAt(uword return_address,
void CodePatcher::InsertDeoptimizationCallAt(uword start, uword target) {
- // The inserted call should not overlap the lazy deopt jump code.
- ASSERT(start + CallPattern::DeoptCallPatternLengthInBytes() <= target);
zra 2016/05/19 16:24:27 Is this removed because 'target' can be 0? Maybe a
Vyacheslav Egorov (Google) 2016/05/20 12:11:46 Done.
CallPattern::InsertDeoptCallAt(start, target);
}

Powered by Google App Engine
This is Rietveld 408576698