Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: runtime/vm/code_generator.cc

Issue 10968059: Support for unboxed 64-bit integer bitwise operations and equality on ia32. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_ia32_test.cc ('k') | runtime/vm/deopt_instructions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+ }
}
« no previous file with comments | « runtime/vm/assembler_ia32_test.cc ('k') | runtime/vm/deopt_instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698