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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/hydrogen-osr.h" | 9 #include "src/hydrogen-osr.h" |
10 #include "src/ia32/lithium-codegen-ia32.h" | 10 #include "src/ia32/lithium-codegen-ia32.h" |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 return LDoubleStackSlot::Create(index, zone()); | 359 return LDoubleStackSlot::Create(index, zone()); |
360 } else { | 360 } else { |
361 ASSERT(kind == GENERAL_REGISTERS); | 361 ASSERT(kind == GENERAL_REGISTERS); |
362 return LStackSlot::Create(index, zone()); | 362 return LStackSlot::Create(index, zone()); |
363 } | 363 } |
364 } | 364 } |
365 | 365 |
366 | 366 |
367 void LStoreNamedField::PrintDataTo(StringStream* stream) { | 367 void LStoreNamedField::PrintDataTo(StringStream* stream) { |
368 object()->PrintTo(stream); | 368 object()->PrintTo(stream); |
369 hydrogen()->access().PrintTo(stream); | 369 OStringStream os; |
370 stream->Add(" <- "); | 370 os << hydrogen()->access() << " <- "; |
| 371 stream->Add(os.c_str()); |
371 value()->PrintTo(stream); | 372 value()->PrintTo(stream); |
372 } | 373 } |
373 | 374 |
374 | 375 |
375 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { | 376 void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
376 object()->PrintTo(stream); | 377 object()->PrintTo(stream); |
377 stream->Add("."); | 378 stream->Add("."); |
378 stream->Add(String::cast(*name())->ToCString().get()); | 379 stream->Add(String::cast(*name())->ToCString().get()); |
379 stream->Add(" <- "); | 380 stream->Add(" <- "); |
380 value()->PrintTo(stream); | 381 value()->PrintTo(stream); |
(...skipping 2286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2667 LOperand* function = UseRegisterAtStart(instr->function()); | 2668 LOperand* function = UseRegisterAtStart(instr->function()); |
2668 LAllocateBlockContext* result = | 2669 LAllocateBlockContext* result = |
2669 new(zone()) LAllocateBlockContext(context, function); | 2670 new(zone()) LAllocateBlockContext(context, function); |
2670 return MarkAsCall(DefineFixed(result, esi), instr); | 2671 return MarkAsCall(DefineFixed(result, esi), instr); |
2671 } | 2672 } |
2672 | 2673 |
2673 | 2674 |
2674 } } // namespace v8::internal | 2675 } } // namespace v8::internal |
2675 | 2676 |
2676 #endif // V8_TARGET_ARCH_IA32 | 2677 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |