Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index d94b5f64320f416a679d5a1a36844201a8637b1f..8253b0cbdee7a1a09cb307744d7862a17355733a 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -1453,7 +1453,8 @@ void GuardFieldClassInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
if (field_cid == kDynamicCid) { |
if (Compiler::IsBackgroundCompilation()) { |
// Field state changed while compiling. |
- Compiler::AbortBackgroundCompilation(deopt_id()); |
+ Compiler::AbortBackgroundCompilation(deopt_id(), |
+ "GuardFieldClassInstr: field state changed while compiling"); |
} |
ASSERT(!compiler->is_optimizing()); |
return; // Nothing to emit. |
@@ -1598,7 +1599,8 @@ void GuardFieldLengthInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
if (field().guarded_list_length() == Field::kNoFixedLength) { |
if (Compiler::IsBackgroundCompilation()) { |
// Field state changed while compiling. |
- Compiler::AbortBackgroundCompilation(deopt_id()); |
+ Compiler::AbortBackgroundCompilation(deopt_id(), |
+ "GuardFieldLengthInstr: field state changed while compiling"); |
} |
ASSERT(!compiler->is_optimizing()); |
return; // Nothing to emit. |