Index: runtime/vm/intermediate_language.h |
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h |
index e5ddd4a32e1a7132495b0edd467a7de298803bce..5867762ad37c47e8db3a4552fa25a9cdde4c6d47 100644 |
--- a/runtime/vm/intermediate_language.h |
+++ b/runtime/vm/intermediate_language.h |
@@ -7452,8 +7452,8 @@ class UnboxedIntConverterInstr : public TemplateDefinition<1, NoThrow> { |
ASSERT((to == kUnboxedMint) || |
(to == kUnboxedUint32) || |
(to == kUnboxedInt32)); |
- ASSERT((to != kUnboxedInt32) || (deopt_id != Isolate::kNoDeoptId)); |
SetInputAt(0, value); |
+ ASSERT(!CanDeoptimize() || (deopt_id != Isolate::kNoDeoptId)); |
} |
Value* value() const { return inputs_[0]; } |