| 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 "v8.h" | 5 #include "v8.h" |
| 6 #include "lithium.h" | 6 #include "lithium.h" |
| 7 #include "scopes.h" | 7 #include "scopes.h" |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_IA32 | 9 #if V8_TARGET_ARCH_IA32 |
| 10 #include "ia32/lithium-ia32.h" | 10 #include "ia32/lithium-ia32.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 case LUnallocated::FIXED_DOUBLE_REGISTER: { | 55 case LUnallocated::FIXED_DOUBLE_REGISTER: { |
| 56 int reg_index = unalloc->fixed_register_index(); | 56 int reg_index = unalloc->fixed_register_index(); |
| 57 const char* double_register_name = | 57 const char* double_register_name = |
| 58 DoubleRegister::AllocationIndexToString(reg_index); | 58 DoubleRegister::AllocationIndexToString(reg_index); |
| 59 stream->Add("(=%s)", double_register_name); | 59 stream->Add("(=%s)", double_register_name); |
| 60 break; | 60 break; |
| 61 } | 61 } |
| 62 case LUnallocated::MUST_HAVE_REGISTER: | 62 case LUnallocated::MUST_HAVE_REGISTER: |
| 63 stream->Add("(R)"); | 63 stream->Add("(R)"); |
| 64 break; | 64 break; |
| 65 case LUnallocated::MUST_HAVE_DOUBLE_REGISTER: |
| 66 stream->Add("(D)"); |
| 67 break; |
| 65 case LUnallocated::WRITABLE_REGISTER: | 68 case LUnallocated::WRITABLE_REGISTER: |
| 66 stream->Add("(WR)"); | 69 stream->Add("(WR)"); |
| 67 break; | 70 break; |
| 68 case LUnallocated::SAME_AS_FIRST_INPUT: | 71 case LUnallocated::SAME_AS_FIRST_INPUT: |
| 69 stream->Add("(1)"); | 72 stream->Add("(1)"); |
| 70 break; | 73 break; |
| 71 case LUnallocated::ANY: | 74 case LUnallocated::ANY: |
| 72 stream->Add("(-)"); | 75 stream->Add("(-)"); |
| 73 break; | 76 break; |
| 74 } | 77 } |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 | 605 |
| 603 | 606 |
| 604 LPhase::~LPhase() { | 607 LPhase::~LPhase() { |
| 605 if (ShouldProduceTraceOutput()) { | 608 if (ShouldProduceTraceOutput()) { |
| 606 isolate()->GetHTracer()->TraceLithium(name(), chunk_); | 609 isolate()->GetHTracer()->TraceLithium(name(), chunk_); |
| 607 } | 610 } |
| 608 } | 611 } |
| 609 | 612 |
| 610 | 613 |
| 611 } } // namespace v8::internal | 614 } } // namespace v8::internal |
| OLD | NEW |