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

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

Issue 2833073002: Stoppp using trippple consonants (Closed)
Patch Set: More spolling Created 3 years, 8 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
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/intermediate_language.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/flow_graph_allocator.h" 5 #include "vm/flow_graph_allocator.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 #include "vm/il_printer.h" 9 #include "vm/il_printer.h"
10 #include "vm/flow_graph.h" 10 #include "vm/flow_graph.h"
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1736 return use; 1736 return use;
1737 } 1737 }
1738 } 1738 }
1739 return NULL; 1739 return NULL;
1740 } 1740 }
1741 1741
1742 1742
1743 UsePosition* AllocationFinger::FirstInterferingUse(intptr_t after) { 1743 UsePosition* AllocationFinger::FirstInterferingUse(intptr_t after) {
1744 if (IsInstructionEndPosition(after)) { 1744 if (IsInstructionEndPosition(after)) {
1745 // If after is a position at the end of the instruction disregard 1745 // If after is a position at the end of the instruction disregard
1746 // any use occuring at it. 1746 // any use occurring at it.
1747 after += 1; 1747 after += 1;
1748 } 1748 }
1749 return FirstRegisterUse(after); 1749 return FirstRegisterUse(after);
1750 } 1750 }
1751 1751
1752 1752
1753 void AllocationFinger::UpdateAfterSplit(intptr_t first_use_after_split_pos) { 1753 void AllocationFinger::UpdateAfterSplit(intptr_t first_use_after_split_pos) {
1754 if ((first_register_use_ != NULL) && 1754 if ((first_register_use_ != NULL) &&
1755 (first_register_use_->pos() >= first_use_after_split_pos)) { 1755 (first_register_use_->pos() >= first_use_after_split_pos)) {
1756 first_register_use_ = NULL; 1756 first_register_use_ = NULL;
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
3089 FlowGraphPrinter printer(flow_graph_, true); 3089 FlowGraphPrinter printer(flow_graph_, true);
3090 printer.PrintBlocks(); 3090 printer.PrintBlocks();
3091 #endif 3091 #endif
3092 } 3092 }
3093 THR_Print("----------------------------------------------\n"); 3093 THR_Print("----------------------------------------------\n");
3094 } 3094 }
3095 } 3095 }
3096 3096
3097 3097
3098 } // namespace dart 3098 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698