| 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 8 | 8 |
| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 return LDoubleStackSlot::Create(index, zone()); | 354 return LDoubleStackSlot::Create(index, zone()); |
| 355 } else { | 355 } else { |
| 356 ASSERT(kind == GENERAL_REGISTERS); | 356 ASSERT(kind == GENERAL_REGISTERS); |
| 357 return LStackSlot::Create(index, zone()); | 357 return LStackSlot::Create(index, zone()); |
| 358 } | 358 } |
| 359 } | 359 } |
| 360 | 360 |
| 361 | 361 |
| 362 void LStoreNamedField::PrintDataTo(StringStream* stream) { | 362 void LStoreNamedField::PrintDataTo(StringStream* stream) { |
| 363 object()->PrintTo(stream); | 363 object()->PrintTo(stream); |
| 364 hydrogen()->access().PrintTo(stream); | 364 OStringStream os; |
| 365 stream->Add(" <- "); | 365 os << hydrogen()->access() << " <- "; |
| 366 stream->Add(os.c_str()); |
| 366 value()->PrintTo(stream); | 367 value()->PrintTo(stream); |
| 367 } | 368 } |
| 368 | 369 |
| 369 | 370 |
| 370 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { | 371 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
| 371 object()->PrintTo(stream); | 372 object()->PrintTo(stream); |
| 372 stream->Add("."); | 373 stream->Add("."); |
| 373 stream->Add(String::cast(*name())->ToCString().get()); | 374 stream->Add(String::cast(*name())->ToCString().get()); |
| 374 stream->Add(" <- "); | 375 stream->Add(" <- "); |
| 375 value()->PrintTo(stream); | 376 value()->PrintTo(stream); |
| (...skipping 2265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2641 LOperand* function = UseRegisterAtStart(instr->function()); | 2642 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2642 LAllocateBlockContext* result = | 2643 LAllocateBlockContext* result = |
| 2643 new(zone()) LAllocateBlockContext(context, function); | 2644 new(zone()) LAllocateBlockContext(context, function); |
| 2644 return MarkAsCall(DefineFixed(result, rsi), instr); | 2645 return MarkAsCall(DefineFixed(result, rsi), instr); |
| 2645 } | 2646 } |
| 2646 | 2647 |
| 2647 | 2648 |
| 2648 } } // namespace v8::internal | 2649 } } // namespace v8::internal |
| 2649 | 2650 |
| 2650 #endif // V8_TARGET_ARCH_X64 | 2651 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |