| 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/arm/lithium-arm.h" | 7 #include "src/arm/lithium-arm.h" |
| 8 #include "src/arm/lithium-codegen-arm.h" | 8 #include "src/arm/lithium-codegen-arm.h" |
| 9 #include "src/hydrogen-osr.h" | 9 #include "src/hydrogen-osr.h" |
| 10 #include "src/lithium-allocator-inl.h" | 10 #include "src/lithium-allocator-inl.h" |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 arguments()->PrintTo(stream); | 310 arguments()->PrintTo(stream); |
| 311 stream->Add(" length "); | 311 stream->Add(" length "); |
| 312 length()->PrintTo(stream); | 312 length()->PrintTo(stream); |
| 313 stream->Add(" index "); | 313 stream->Add(" index "); |
| 314 index()->PrintTo(stream); | 314 index()->PrintTo(stream); |
| 315 } | 315 } |
| 316 | 316 |
| 317 | 317 |
| 318 void LStoreNamedField::PrintDataTo(StringStream* stream) { | 318 void LStoreNamedField::PrintDataTo(StringStream* stream) { |
| 319 object()->PrintTo(stream); | 319 object()->PrintTo(stream); |
| 320 hydrogen()->access().PrintTo(stream); | 320 OStringStream os; |
| 321 stream->Add(" <- "); | 321 os << hydrogen()->access() << " <- "; |
| 322 stream->Add(os.c_str()); |
| 322 value()->PrintTo(stream); | 323 value()->PrintTo(stream); |
| 323 } | 324 } |
| 324 | 325 |
| 325 | 326 |
| 326 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { | 327 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
| 327 object()->PrintTo(stream); | 328 object()->PrintTo(stream); |
| 328 stream->Add("."); | 329 stream->Add("."); |
| 329 stream->Add(String::cast(*name())->ToCString().get()); | 330 stream->Add(String::cast(*name())->ToCString().get()); |
| 330 stream->Add(" <- "); | 331 stream->Add(" <- "); |
| 331 value()->PrintTo(stream); | 332 value()->PrintTo(stream); |
| (...skipping 2256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2588 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2589 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
| 2589 HAllocateBlockContext* instr) { | 2590 HAllocateBlockContext* instr) { |
| 2590 LOperand* context = UseFixed(instr->context(), cp); | 2591 LOperand* context = UseFixed(instr->context(), cp); |
| 2591 LOperand* function = UseRegisterAtStart(instr->function()); | 2592 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2592 LAllocateBlockContext* result = | 2593 LAllocateBlockContext* result = |
| 2593 new(zone()) LAllocateBlockContext(context, function); | 2594 new(zone()) LAllocateBlockContext(context, function); |
| 2594 return MarkAsCall(DefineFixed(result, cp), instr); | 2595 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2595 } | 2596 } |
| 2596 | 2597 |
| 2597 } } // namespace v8::internal | 2598 } } // namespace v8::internal |
| OLD | NEW |