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

Side by Side Diff: src/x87/lithium-x87.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/x64/lithium-x64.cc ('k') | test/cctest/cctest.gyp » ('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_X87 7 #if V8_TARGET_ARCH_X87
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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 return LDoubleStackSlot::Create(index, zone()); 369 return LDoubleStackSlot::Create(index, zone());
370 } else { 370 } else {
371 DCHECK(kind == GENERAL_REGISTERS); 371 DCHECK(kind == GENERAL_REGISTERS);
372 return LStackSlot::Create(index, zone()); 372 return LStackSlot::Create(index, zone());
373 } 373 }
374 } 374 }
375 375
376 376
377 void LStoreNamedField::PrintDataTo(StringStream* stream) { 377 void LStoreNamedField::PrintDataTo(StringStream* stream) {
378 object()->PrintTo(stream); 378 object()->PrintTo(stream);
379 OStringStream os; 379 std::ostringstream os;
380 os << hydrogen()->access() << " <- "; 380 os << hydrogen()->access() << " <- ";
381 stream->Add(os.c_str()); 381 stream->Add(os.c_str());
382 value()->PrintTo(stream); 382 value()->PrintTo(stream);
383 } 383 }
384 384
385 385
386 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { 386 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) {
387 object()->PrintTo(stream); 387 object()->PrintTo(stream);
388 stream->Add("."); 388 stream->Add(".");
389 stream->Add(String::cast(*name())->ToCString().get()); 389 stream->Add(String::cast(*name())->ToCString().get());
(...skipping 2321 matching lines...) Expand 10 before | Expand all | Expand 10 after
2711 LOperand* function = UseRegisterAtStart(instr->function()); 2711 LOperand* function = UseRegisterAtStart(instr->function());
2712 LAllocateBlockContext* result = 2712 LAllocateBlockContext* result =
2713 new(zone()) LAllocateBlockContext(context, function); 2713 new(zone()) LAllocateBlockContext(context, function);
2714 return MarkAsCall(DefineFixed(result, esi), instr); 2714 return MarkAsCall(DefineFixed(result, esi), instr);
2715 } 2715 }
2716 2716
2717 2717
2718 } } // namespace v8::internal 2718 } } // namespace v8::internal
2719 2719
2720 #endif // V8_TARGET_ARCH_X87 2720 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698