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

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

Issue 618643002: Replace OStream with std::ostream. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Created 6 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 | « src/mips/lithium-mips.cc ('k') | src/objects.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #if V8_TARGET_ARCH_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/hydrogen-osr.h" 9 #include "src/hydrogen-osr.h"
10 #include "src/lithium-inl.h" 10 #include "src/lithium-inl.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 arguments()->PrintTo(stream); 316 arguments()->PrintTo(stream);
317 stream->Add(" length "); 317 stream->Add(" length ");
318 length()->PrintTo(stream); 318 length()->PrintTo(stream);
319 stream->Add(" index "); 319 stream->Add(" index ");
320 index()->PrintTo(stream); 320 index()->PrintTo(stream);
321 } 321 }
322 322
323 323
324 void LStoreNamedField::PrintDataTo(StringStream* stream) { 324 void LStoreNamedField::PrintDataTo(StringStream* stream) {
325 object()->PrintTo(stream); 325 object()->PrintTo(stream);
326 OStringStream os; 326 std::ostringstream os;
327 os << hydrogen()->access() << " <- "; 327 os << hydrogen()->access() << " <- ";
328 stream->Add(os.c_str()); 328 stream->Add(os.c_str());
329 value()->PrintTo(stream); 329 value()->PrintTo(stream);
330 } 330 }
331 331
332 332
333 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { 333 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) {
334 object()->PrintTo(stream); 334 object()->PrintTo(stream);
335 stream->Add("."); 335 stream->Add(".");
336 stream->Add(String::cast(*name())->ToCString().get()); 336 stream->Add(String::cast(*name())->ToCString().get());
(...skipping 2248 matching lines...) Expand 10 before | Expand all | Expand 10 after
2585 LOperand* function = UseRegisterAtStart(instr->function()); 2585 LOperand* function = UseRegisterAtStart(instr->function());
2586 LAllocateBlockContext* result = 2586 LAllocateBlockContext* result =
2587 new(zone()) LAllocateBlockContext(context, function); 2587 new(zone()) LAllocateBlockContext(context, function);
2588 return MarkAsCall(DefineFixed(result, cp), instr); 2588 return MarkAsCall(DefineFixed(result, cp), instr);
2589 } 2589 }
2590 2590
2591 2591
2592 } } // namespace v8::internal 2592 } } // namespace v8::internal
2593 2593
2594 #endif // V8_TARGET_ARCH_MIPS64 2594 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698