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

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

Issue 615013002: MIPS: Replace OStream with std::ostream. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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') | 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 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 <sstream>
6
5 #include "src/v8.h" 7 #include "src/v8.h"
6 8
7 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
8 10
9 #include "src/hydrogen-osr.h" 11 #include "src/hydrogen-osr.h"
10 #include "src/lithium-inl.h" 12 #include "src/lithium-inl.h"
11 #include "src/mips64/lithium-codegen-mips64.h" 13 #include "src/mips64/lithium-codegen-mips64.h"
12 14
13 namespace v8 { 15 namespace v8 {
14 namespace internal { 16 namespace internal {
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 length()->PrintTo(stream); 320 length()->PrintTo(stream);
319 stream->Add(" index "); 321 stream->Add(" index ");
320 index()->PrintTo(stream); 322 index()->PrintTo(stream);
321 } 323 }
322 324
323 325
324 void LStoreNamedField::PrintDataTo(StringStream* stream) { 326 void LStoreNamedField::PrintDataTo(StringStream* stream) {
325 object()->PrintTo(stream); 327 object()->PrintTo(stream);
326 std::ostringstream os; 328 std::ostringstream os;
327 os << hydrogen()->access() << " <- "; 329 os << hydrogen()->access() << " <- ";
328 stream->Add(os.c_str()); 330 stream->Add(os.str().c_str());
329 value()->PrintTo(stream); 331 value()->PrintTo(stream);
330 } 332 }
331 333
332 334
333 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { 335 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) {
334 object()->PrintTo(stream); 336 object()->PrintTo(stream);
335 stream->Add("."); 337 stream->Add(".");
336 stream->Add(String::cast(*name())->ToCString().get()); 338 stream->Add(String::cast(*name())->ToCString().get());
337 stream->Add(" <- "); 339 stream->Add(" <- ");
338 value()->PrintTo(stream); 340 value()->PrintTo(stream);
(...skipping 2246 matching lines...) Expand 10 before | Expand all | Expand 10 after
2585 LOperand* function = UseRegisterAtStart(instr->function()); 2587 LOperand* function = UseRegisterAtStart(instr->function());
2586 LAllocateBlockContext* result = 2588 LAllocateBlockContext* result =
2587 new(zone()) LAllocateBlockContext(context, function); 2589 new(zone()) LAllocateBlockContext(context, function);
2588 return MarkAsCall(DefineFixed(result, cp), instr); 2590 return MarkAsCall(DefineFixed(result, cp), instr);
2589 } 2591 }
2590 2592
2591 2593
2592 } } // namespace v8::internal 2594 } } // namespace v8::internal
2593 2595
2594 #endif // V8_TARGET_ARCH_MIPS64 2596 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698