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

Side by Side Diff: src/arm64/lithium-arm64.cc

Issue 363323003: More OStreamsUse OStreams more often. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased and polished. Created 6 years, 5 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 | « src/arm/simulator-arm.cc ('k') | src/arm64/simulator-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/arm64/lithium-arm64.h" 7 #include "src/arm64/lithium-arm64.h"
8 #include "src/arm64/lithium-codegen-arm64.h" 8 #include "src/arm64/lithium-codegen-arm64.h"
9 #include "src/hydrogen-osr.h" 9 #include "src/hydrogen-osr.h"
10 #include "src/lithium-allocator-inl.h" 10 #include "src/lithium-allocator-inl.h"
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 object()->PrintTo(stream); 277 object()->PrintTo(stream);
278 stream->Add("["); 278 stream->Add("[");
279 key()->PrintTo(stream); 279 key()->PrintTo(stream);
280 stream->Add("] <- "); 280 stream->Add("] <- ");
281 value()->PrintTo(stream); 281 value()->PrintTo(stream);
282 } 282 }
283 283
284 284
285 void LStoreNamedField::PrintDataTo(StringStream* stream) { 285 void LStoreNamedField::PrintDataTo(StringStream* stream) {
286 object()->PrintTo(stream); 286 object()->PrintTo(stream);
287 hydrogen()->access().PrintTo(stream); 287 OStringStream os;
288 os << hydrogen()->access();
289 stream->Add(os.c_str());
288 stream->Add(" <- "); 290 stream->Add(" <- ");
289 value()->PrintTo(stream); 291 value()->PrintTo(stream);
290 } 292 }
291 293
292 294
293 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { 295 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) {
294 object()->PrintTo(stream); 296 object()->PrintTo(stream);
295 stream->Add("."); 297 stream->Add(".");
296 stream->Add(String::cast(*name())->ToCString().get()); 298 stream->Add(String::cast(*name())->ToCString().get());
297 stream->Add(" <- "); 299 stream->Add(" <- ");
(...skipping 2417 matching lines...) Expand 10 before | Expand all | Expand 10 after
2715 HAllocateBlockContext* instr) { 2717 HAllocateBlockContext* instr) {
2716 LOperand* context = UseFixed(instr->context(), cp); 2718 LOperand* context = UseFixed(instr->context(), cp);
2717 LOperand* function = UseRegisterAtStart(instr->function()); 2719 LOperand* function = UseRegisterAtStart(instr->function());
2718 LAllocateBlockContext* result = 2720 LAllocateBlockContext* result =
2719 new(zone()) LAllocateBlockContext(context, function); 2721 new(zone()) LAllocateBlockContext(context, function);
2720 return MarkAsCall(DefineFixed(result, cp), instr); 2722 return MarkAsCall(DefineFixed(result, cp), instr);
2721 } 2723 }
2722 2724
2723 2725
2724 } } // namespace v8::internal 2726 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/arm64/simulator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698