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

Side by Side Diff: src/arm64/lithium-arm64.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/arm/lithium-arm.cc ('k') | src/assembler.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 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 <sstream>
6
5 #include "src/v8.h" 7 #include "src/v8.h"
6 8
7 #include "src/arm64/lithium-codegen-arm64.h" 9 #include "src/arm64/lithium-codegen-arm64.h"
8 #include "src/hydrogen-osr.h" 10 #include "src/hydrogen-osr.h"
9 #include "src/lithium-inl.h" 11 #include "src/lithium-inl.h"
10 12
11 namespace v8 { 13 namespace v8 {
12 namespace internal { 14 namespace internal {
13 15
14 #define DEFINE_COMPILE(type) \ 16 #define DEFINE_COMPILE(type) \
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 object()->PrintTo(stream); 277 object()->PrintTo(stream);
276 stream->Add("["); 278 stream->Add("[");
277 key()->PrintTo(stream); 279 key()->PrintTo(stream);
278 stream->Add("] <- "); 280 stream->Add("] <- ");
279 value()->PrintTo(stream); 281 value()->PrintTo(stream);
280 } 282 }
281 283
282 284
283 void LStoreNamedField::PrintDataTo(StringStream* stream) { 285 void LStoreNamedField::PrintDataTo(StringStream* stream) {
284 object()->PrintTo(stream); 286 object()->PrintTo(stream);
285 OStringStream os; 287 std::ostringstream os;
286 os << hydrogen()->access(); 288 os << hydrogen()->access();
287 stream->Add(os.c_str()); 289 stream->Add(os.str().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 2448 matching lines...) Expand 10 before | Expand all | Expand 10 after
2746 HAllocateBlockContext* instr) { 2748 HAllocateBlockContext* instr) {
2747 LOperand* context = UseFixed(instr->context(), cp); 2749 LOperand* context = UseFixed(instr->context(), cp);
2748 LOperand* function = UseRegisterAtStart(instr->function()); 2750 LOperand* function = UseRegisterAtStart(instr->function());
2749 LAllocateBlockContext* result = 2751 LAllocateBlockContext* result =
2750 new(zone()) LAllocateBlockContext(context, function); 2752 new(zone()) LAllocateBlockContext(context, function);
2751 return MarkAsCall(DefineFixed(result, cp), instr); 2753 return MarkAsCall(DefineFixed(result, cp), instr);
2752 } 2754 }
2753 2755
2754 2756
2755 } } // namespace v8::internal 2757 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698