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); |
} |