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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/assembler_ia32_test.cc ('k') | runtime/vm/deopt_instructions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/code_generator.h" 5 #include "vm/code_generator.h"
6 6
7 #include "vm/assembler_macros.h" 7 #include "vm/assembler_macros.h"
8 #include "vm/ast.h" 8 #include "vm/ast.h"
9 #include "vm/code_patcher.h" 9 #include "vm/code_patcher.h"
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 DeferredDouble* deferred_double = Isolate::Current()->DetachDeferredDoubles(); 1691 DeferredDouble* deferred_double = Isolate::Current()->DetachDeferredDoubles();
1692 1692
1693 while (deferred_double != NULL) { 1693 while (deferred_double != NULL) {
1694 DeferredDouble* current = deferred_double; 1694 DeferredDouble* current = deferred_double;
1695 deferred_double = deferred_double->next(); 1695 deferred_double = deferred_double->next();
1696 1696
1697 RawDouble** slot = current->slot(); 1697 RawDouble** slot = current->slot();
1698 *slot = Double::New(current->value()); 1698 *slot = Double::New(current->value());
1699 1699
1700 if (FLAG_trace_deopt) { 1700 if (FLAG_trace_deopt) {
1701 OS::Print("materialing double at %p: %g\n", 1701 OS::Print("materializing double at %"Px": %g\n",
1702 current->slot(), 1702 reinterpret_cast<uword>(current->slot()),
1703 current->value());
1704 }
1705
1706 delete current;
1707 }
1708
1709 DeferredMint* deferred_mint = Isolate::Current()->DetachDeferredMints();
1710
1711 while (deferred_mint != NULL) {
1712 DeferredMint* current = deferred_mint;
1713 deferred_mint = deferred_mint->next();
1714
1715 RawMint** slot = current->slot();
1716 ASSERT(!Smi::IsValid64(current->value()));
1717 *slot = Mint::New(current->value());
1718
1719 if (FLAG_trace_deopt) {
1720 OS::Print("materializing mint at %"Px": %"Pd64"\n",
1721 reinterpret_cast<uword>(current->slot()),
1703 current->value()); 1722 current->value());
1704 } 1723 }
1705 1724
1706 delete current; 1725 delete current;
1707 } 1726 }
1708 } 1727 }
1709 1728
1710 1729
1711 } // namespace dart 1730 } // namespace dart
OLDNEW
« 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