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

Side by Side Diff: runtime/vm/intermediate_language.cc

Issue 23766021: Fix a bug in block reordering/block compaction. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bigint_operations.h" 7 #include "vm/bigint_operations.h"
8 #include "vm/bit_vector.h" 8 #include "vm/bit_vector.h"
9 #include "vm/dart_entry.h" 9 #include "vm/dart_entry.h"
10 #include "vm/flow_graph_allocator.h" 10 #include "vm/flow_graph_allocator.h"
(...skipping 1602 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 // generation is located in intermediate_language_<arch>.cc 1613 // generation is located in intermediate_language_<arch>.cc
1614 1614
1615 #define __ compiler->assembler()-> 1615 #define __ compiler->assembler()->
1616 1616
1617 LocationSummary* GraphEntryInstr::MakeLocationSummary() const { 1617 LocationSummary* GraphEntryInstr::MakeLocationSummary() const {
1618 UNREACHABLE(); 1618 UNREACHABLE();
1619 return NULL; 1619 return NULL;
1620 } 1620 }
1621 1621
1622 1622
1623 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
1624 // Nothing to do.
1625 }
1626
1627
1628 LocationSummary* JoinEntryInstr::MakeLocationSummary() const { 1623 LocationSummary* JoinEntryInstr::MakeLocationSummary() const {
1629 UNREACHABLE(); 1624 UNREACHABLE();
1630 return NULL; 1625 return NULL;
1631 } 1626 }
1632 1627
1633 1628
1634 void JoinEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 1629 void JoinEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
1635 __ Bind(compiler->GetJumpLabel(this)); 1630 __ Bind(compiler->GetJumpLabel(this));
1636 if (!compiler->is_optimizing()) { 1631 if (!compiler->is_optimizing()) {
1637 compiler->AddCurrentDescriptor(PcDescriptors::kDeopt, 1632 compiler->AddCurrentDescriptor(PcDescriptors::kDeopt,
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
2668 return kCosRuntimeEntry; 2663 return kCosRuntimeEntry;
2669 default: 2664 default:
2670 UNREACHABLE(); 2665 UNREACHABLE();
2671 } 2666 }
2672 return kSinRuntimeEntry; 2667 return kSinRuntimeEntry;
2673 } 2668 }
2674 2669
2675 #undef __ 2670 #undef __
2676 2671
2677 } // namespace dart 2672 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698