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

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

Issue 2011363002: - Fix product mode SIMDBC build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | runtime/vm/intermediate_language_dbc.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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Iterate backwards starting at the last instruction. 149 // Iterate backwards starting at the last instruction.
150 for (BackwardInstructionIterator it(block); !it.Done(); it.Advance()) { 150 for (BackwardInstructionIterator it(block); !it.Done(); it.Advance()) {
151 Instruction* current = it.Current(); 151 Instruction* current = it.Current();
152 152
153 // Initialize location summary for instruction. 153 // Initialize location summary for instruction.
154 current->InitializeLocationSummary(zone(), true); // opt 154 current->InitializeLocationSummary(zone(), true); // opt
155 #if defined(TARGET_ARCH_DBC) 155 #if defined(TARGET_ARCH_DBC)
156 // TODO(vegorov) remove this once we have ported all necessary 156 // TODO(vegorov) remove this once we have ported all necessary
157 // instructions to DBC. 157 // instructions to DBC.
158 if (!current->HasLocs()) { 158 if (!current->HasLocs()) {
159 graph_entry_->parsed_function().Bailout("SSALivenessAnalysis", 159 const char* msg = "SSALivenessAnalysis::ComputeInitialSets";
160 current->ToCString()); 160 NOT_IN_PRODUCT(msg = current->ToCString());
161 graph_entry_->parsed_function().Bailout("SSALivenessAnalysis", msg);
161 } 162 }
162 #endif 163 #endif
163 164
164 LocationSummary* locs = current->locs(); 165 LocationSummary* locs = current->locs();
165 #if defined(DEBUG) 166 #if defined(DEBUG)
166 locs->DiscoverWritableInputs(); 167 locs->DiscoverWritableInputs();
167 #endif 168 #endif
168 169
169 // Handle definitions. 170 // Handle definitions.
170 Definition* current_def = current->AsDefinition(); 171 Definition* current_def = current->AsDefinition();
(...skipping 2921 matching lines...) Expand 10 before | Expand all | Expand 10 after
3092 FlowGraphPrinter printer(flow_graph_, true); 3093 FlowGraphPrinter printer(flow_graph_, true);
3093 printer.PrintBlocks(); 3094 printer.PrintBlocks();
3094 #endif 3095 #endif
3095 } 3096 }
3096 THR_Print("----------------------------------------------\n"); 3097 THR_Print("----------------------------------------------\n");
3097 } 3098 }
3098 } 3099 }
3099 3100
3100 3101
3101 } // namespace dart 3102 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/intermediate_language_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698