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

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

Issue 24744002: Pattern match on generated code to find edge counters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated review comments. Created 7 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/instructions_x64.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 1646 matching lines...) Expand 10 before | Expand all | Expand 10 after
1657 deopt_id_, 1657 deopt_id_,
1658 Scanner::kDummyTokenIndex); 1658 Scanner::kDummyTokenIndex);
1659 } 1659 }
1660 if (HasParallelMove()) { 1660 if (HasParallelMove()) {
1661 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 1661 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
1662 } 1662 }
1663 } 1663 }
1664 1664
1665 1665
1666 LocationSummary* TargetEntryInstr::MakeLocationSummary() const { 1666 LocationSummary* TargetEntryInstr::MakeLocationSummary() const {
1667 // FlowGraphCompiler::EmitInstructionPrologue is not called for block
1668 // entry instructions, so this function is unused. If it becomes
1669 // reachable, note that the deoptimization descriptor in unoptimized code
1670 // comes after the point of local register allocation due to pattern
1671 // matching the edge counter code backwards (as a code reuse convenience
1672 // on some platforms).
1667 UNREACHABLE(); 1673 UNREACHABLE();
1668 return NULL; 1674 return NULL;
1669 } 1675 }
1670 1676
1671 1677
1672 LocationSummary* PhiInstr::MakeLocationSummary() const { 1678 LocationSummary* PhiInstr::MakeLocationSummary() const {
1673 UNREACHABLE(); 1679 UNREACHABLE();
1674 return NULL; 1680 return NULL;
1675 } 1681 }
1676 1682
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
2687 return kCosRuntimeEntry; 2693 return kCosRuntimeEntry;
2688 default: 2694 default:
2689 UNREACHABLE(); 2695 UNREACHABLE();
2690 } 2696 }
2691 return kSinRuntimeEntry; 2697 return kSinRuntimeEntry;
2692 } 2698 }
2693 2699
2694 #undef __ 2700 #undef __
2695 2701
2696 } // namespace dart 2702 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/instructions_x64.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698