| 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 #include "src/hydrogen-osr.h" | 7 #include "src/hydrogen-osr.h" |
| 8 #include "src/lithium-allocator-inl.h" | 8 #include "src/lithium-allocator-inl.h" |
| 9 #include "src/mips/lithium-codegen-mips.h" | 9 #include "src/mips/lithium-codegen-mips.h" |
| 10 #include "src/mips/lithium-mips.h" | 10 #include "src/mips/lithium-mips.h" |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 arguments()->PrintTo(stream); | 315 arguments()->PrintTo(stream); |
| 316 stream->Add(" length "); | 316 stream->Add(" length "); |
| 317 length()->PrintTo(stream); | 317 length()->PrintTo(stream); |
| 318 stream->Add(" index "); | 318 stream->Add(" index "); |
| 319 index()->PrintTo(stream); | 319 index()->PrintTo(stream); |
| 320 } | 320 } |
| 321 | 321 |
| 322 | 322 |
| 323 void LStoreNamedField::PrintDataTo(StringStream* stream) { | 323 void LStoreNamedField::PrintDataTo(StringStream* stream) { |
| 324 object()->PrintTo(stream); | 324 object()->PrintTo(stream); |
| 325 hydrogen()->access().PrintTo(stream); | 325 OStringStream os; |
| 326 stream->Add(" <- "); | 326 os << hydrogen()->access() << " <- "; |
| 327 stream->Add(os.c_str()); |
| 327 value()->PrintTo(stream); | 328 value()->PrintTo(stream); |
| 328 } | 329 } |
| 329 | 330 |
| 330 | 331 |
| 331 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { | 332 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
| 332 object()->PrintTo(stream); | 333 object()->PrintTo(stream); |
| 333 stream->Add("."); | 334 stream->Add("."); |
| 334 stream->Add(String::cast(*name())->ToCString().get()); | 335 stream->Add(String::cast(*name())->ToCString().get()); |
| 335 stream->Add(" <- "); | 336 stream->Add(" <- "); |
| 336 value()->PrintTo(stream); | 337 value()->PrintTo(stream); |
| (...skipping 2198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2535 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2536 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
| 2536 HAllocateBlockContext* instr) { | 2537 HAllocateBlockContext* instr) { |
| 2537 LOperand* context = UseFixed(instr->context(), cp); | 2538 LOperand* context = UseFixed(instr->context(), cp); |
| 2538 LOperand* function = UseRegisterAtStart(instr->function()); | 2539 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2539 LAllocateBlockContext* result = | 2540 LAllocateBlockContext* result = |
| 2540 new(zone()) LAllocateBlockContext(context, function); | 2541 new(zone()) LAllocateBlockContext(context, function); |
| 2541 return MarkAsCall(DefineFixed(result, cp), instr); | 2542 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2542 } | 2543 } |
| 2543 | 2544 |
| 2544 } } // namespace v8::internal | 2545 } } // namespace v8::internal |
| OLD | NEW |