Index: runtime/vm/deopt_instructions.cc |
=================================================================== |
--- runtime/vm/deopt_instructions.cc (revision 41687) |
+++ runtime/vm/deopt_instructions.cc (working copy) |
@@ -1243,6 +1243,7 @@ |
MaterializeObjectInstr* mat = materializations_[i]; |
// Class of the instance to allocate. |
AddConstant(mat->cls(), dest_index++); |
+ AddConstant(Smi::Handle(Smi::New(mat->num_variables())), dest_index++); |
for (intptr_t i = 0; i < mat->InputCount(); i++) { |
if (!mat->InputAt(i)->BindsToConstantNull()) { |
// Emit offset-value pair. |