Index: runtime/vm/deopt_instructions.cc |
diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc |
index 1aa11b76da285ad8748dd321e5cf62d2f6e00718..002eb08d27f0279a8cfd734af8be36b0c5c93d2b 100644 |
--- a/runtime/vm/deopt_instructions.cc |
+++ b/runtime/vm/deopt_instructions.cc |
@@ -661,9 +661,12 @@ class DeoptPcMarkerInstr : public DeoptInstr { |
Function& function = Function::Handle(deopt_context->zone()); |
function ^= deopt_context->ObjectAt(object_table_index_); |
if (function.IsNull()) { |
+ // There are no deoptimization stubs on DBC. |
+#if !defined(TARGET_ARCH_DBC) |
*reinterpret_cast<RawObject**>(dest_addr) = deopt_context->is_lazy_deopt() |
? StubCode::DeoptimizeLazy_entry()->code() |
: StubCode::Deoptimize_entry()->code(); |
+#endif |
return; |
} |