| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
| 6 | 6 |
| 7 #include "src/address-map.h" | 7 #include "src/address-map.h" |
| 8 #include "src/base/adapters.h" | 8 #include "src/base/adapters.h" |
| 9 #include "src/compilation-info.h" | 9 #include "src/compilation-info.h" |
| 10 #include "src/compiler/code-generator-impl.h" | 10 #include "src/compiler/code-generator-impl.h" |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 translation->BeginCapturedObject(static_cast<int>(nested->size())); | 695 translation->BeginCapturedObject(static_cast<int>(nested->size())); |
| 696 } | 696 } |
| 697 for (auto field : *nested) { | 697 for (auto field : *nested) { |
| 698 TranslateStateValueDescriptor(field.desc, field.nested, translation, | 698 TranslateStateValueDescriptor(field.desc, field.nested, translation, |
| 699 iter); | 699 iter); |
| 700 } | 700 } |
| 701 } else if (desc->IsArgumentsElements()) { | 701 } else if (desc->IsArgumentsElements()) { |
| 702 if (translation != nullptr) { | 702 if (translation != nullptr) { |
| 703 translation->ArgumentsElements(desc->is_rest()); | 703 translation->ArgumentsElements(desc->is_rest()); |
| 704 } | 704 } |
| 705 } else if (desc->IsArgumentsLength()) { |
| 706 if (translation != nullptr) { |
| 707 translation->ArgumentsLength(desc->is_rest()); |
| 708 } |
| 705 } else if (desc->IsDuplicate()) { | 709 } else if (desc->IsDuplicate()) { |
| 706 if (translation != nullptr) { | 710 if (translation != nullptr) { |
| 707 translation->DuplicateObject(static_cast<int>(desc->id())); | 711 translation->DuplicateObject(static_cast<int>(desc->id())); |
| 708 } | 712 } |
| 709 } else if (desc->IsPlain()) { | 713 } else if (desc->IsPlain()) { |
| 710 InstructionOperand* op = iter->Advance(); | 714 InstructionOperand* op = iter->Advance(); |
| 711 if (translation != nullptr) { | 715 if (translation != nullptr) { |
| 712 AddTranslationForOperand(translation, iter->instruction(), op, | 716 AddTranslationForOperand(translation, iter->instruction(), op, |
| 713 desc->type()); | 717 desc->type()); |
| 714 } | 718 } |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { | 996 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { |
| 993 gen->ools_ = this; | 997 gen->ools_ = this; |
| 994 } | 998 } |
| 995 | 999 |
| 996 | 1000 |
| 997 OutOfLineCode::~OutOfLineCode() {} | 1001 OutOfLineCode::~OutOfLineCode() {} |
| 998 | 1002 |
| 999 } // namespace compiler | 1003 } // namespace compiler |
| 1000 } // namespace internal | 1004 } // namespace internal |
| 1001 } // namespace v8 | 1005 } // namespace v8 |
| OLD | NEW |