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

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

Issue 1268493006: Fix Dartium Mac build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | no next file » | 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/il_printer.h" 5 #include "vm/il_printer.h"
6 6
7 #include "vm/flow_graph_range_analysis.h" 7 #include "vm/flow_graph_range_analysis.h"
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 #include "vm/os.h" 9 #include "vm/os.h"
10 #include "vm/parser.h" 10 #include "vm/parser.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 132 }
133 if (print_locations && (instr->HasLocs())) { 133 if (print_locations && (instr->HasLocs())) {
134 instr->locs()->PrintTo(&f); 134 instr->locs()->PrintTo(&f);
135 } 135 }
136 if (instr->lifetime_position() != -1) { 136 if (instr->lifetime_position() != -1) {
137 ISL_Print("%3" Pd ": ", instr->lifetime_position()); 137 ISL_Print("%3" Pd ": ", instr->lifetime_position());
138 } 138 }
139 if (!instr->IsBlockEntry()) ISL_Print(" "); 139 if (!instr->IsBlockEntry()) ISL_Print(" ");
140 ISL_Print("%s", str); 140 ISL_Print("%s", str);
141 if (FLAG_trace_inlining_intervals) { 141 if (FLAG_trace_inlining_intervals) {
142 ISL_Print(" iid: %"Pd"", instr->inlining_id()); 142 ISL_Print(" iid: %" Pd "", instr->inlining_id());
143 } 143 }
144 } 144 }
145 145
146 146
147 void FlowGraphPrinter::PrintTypeCheck(const ParsedFunction& parsed_function, 147 void FlowGraphPrinter::PrintTypeCheck(const ParsedFunction& parsed_function,
148 intptr_t token_pos, 148 intptr_t token_pos,
149 Value* value, 149 Value* value,
150 const AbstractType& dst_type, 150 const AbstractType& dst_type,
151 const String& dst_name, 151 const String& dst_name,
152 bool eliminated) { 152 bool eliminated) {
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 } 1212 }
1213 1213
1214 const char* Environment::ToCString() const { 1214 const char* Environment::ToCString() const {
1215 char buffer[1024]; 1215 char buffer[1024];
1216 BufferFormatter bf(buffer, 1024); 1216 BufferFormatter bf(buffer, 1024);
1217 PrintTo(&bf); 1217 PrintTo(&bf);
1218 return Thread::Current()->zone()->MakeCopyOfString(buffer); 1218 return Thread::Current()->zone()->MakeCopyOfString(buffer);
1219 } 1219 }
1220 1220
1221 } // namespace dart 1221 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698