OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |