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

Unified Diff: runtime/vm/code_patcher_dbc.cc

Issue 2382953004: Revert "Lazy deopt without code patching." (Closed)
Patch Set: Created 4 years, 3 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/code_patcher_arm64.cc ('k') | runtime/vm/code_patcher_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_patcher_dbc.cc
diff --git a/runtime/vm/code_patcher_dbc.cc b/runtime/vm/code_patcher_dbc.cc
index b24c32fd2521fe546857a2d2f5b9d271f85afdc7..327b27f3a1e2fdbb2c8b3af0cc33148bbdb64d1e 100644
--- a/runtime/vm/code_patcher_dbc.cc
+++ b/runtime/vm/code_patcher_dbc.cc
@@ -30,8 +30,9 @@ void CodePatcher::PatchStaticCallAt(uword return_address,
}
-void CodePatcher::InsertDeoptimizationCallAt(uword start) {
- CallPattern::InsertDeoptCallAt(start);
+void CodePatcher::InsertDeoptimizationCallAt(uword start, uword target) {
+ ASSERT(target == 0); // Always 0 on DBC.
+ CallPattern::InsertDeoptCallAt(start, target);
}
« no previous file with comments | « runtime/vm/code_patcher_arm64.cc ('k') | runtime/vm/code_patcher_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698