| Index: runtime/vm/code_generator.cc
|
| ===================================================================
|
| --- runtime/vm/code_generator.cc (revision 13110)
|
| +++ runtime/vm/code_generator.cc (working copy)
|
| @@ -1698,13 +1698,32 @@
|
| *slot = Double::New(current->value());
|
|
|
| if (FLAG_trace_deopt) {
|
| - OS::Print("materialing double at %p: %g\n",
|
| - current->slot(),
|
| + OS::Print("materializing double at %"Px": %g\n",
|
| + reinterpret_cast<uword>(current->slot()),
|
| current->value());
|
| }
|
|
|
| delete current;
|
| }
|
| +
|
| + DeferredMint* deferred_mint = Isolate::Current()->DetachDeferredMints();
|
| +
|
| + while (deferred_mint != NULL) {
|
| + DeferredMint* current = deferred_mint;
|
| + deferred_mint = deferred_mint->next();
|
| +
|
| + RawMint** slot = current->slot();
|
| + ASSERT(!Smi::IsValid64(current->value()));
|
| + *slot = Mint::New(current->value());
|
| +
|
| + if (FLAG_trace_deopt) {
|
| + OS::Print("materializing mint at %"Px": %"Pd64"\n",
|
| + reinterpret_cast<uword>(current->slot()),
|
| + current->value());
|
| + }
|
| +
|
| + delete current;
|
| + }
|
| }
|
|
|
|
|
|
|