| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/objects.h" | 5 #include "src/objects.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 #include <iomanip> | 8 #include <iomanip> |
| 9 #include <sstream> | 9 #include <sstream> |
| 10 | 10 |
| (...skipping 14659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14670 case Translation::CONSTRUCT_STUB_FRAME: { | 14670 case Translation::CONSTRUCT_STUB_FRAME: { |
| 14671 int shared_info_id = iterator.Next(); | 14671 int shared_info_id = iterator.Next(); |
| 14672 Object* shared_info = LiteralArray()->get(shared_info_id); | 14672 Object* shared_info = LiteralArray()->get(shared_info_id); |
| 14673 unsigned height = iterator.Next(); | 14673 unsigned height = iterator.Next(); |
| 14674 os << "{function=" | 14674 os << "{function=" |
| 14675 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) | 14675 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
| 14676 << ", height=" << height << "}"; | 14676 << ", height=" << height << "}"; |
| 14677 break; | 14677 break; |
| 14678 } | 14678 } |
| 14679 | 14679 |
| 14680 case Translation::TAIL_CALLER_FRAME: { |
| 14681 int shared_info_id = iterator.Next(); |
| 14682 Object* shared_info = LiteralArray()->get(shared_info_id); |
| 14683 os << "{function=" |
| 14684 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
| 14685 << "}"; |
| 14686 break; |
| 14687 } |
| 14688 |
| 14680 case Translation::GETTER_STUB_FRAME: | 14689 case Translation::GETTER_STUB_FRAME: |
| 14681 case Translation::SETTER_STUB_FRAME: { | 14690 case Translation::SETTER_STUB_FRAME: { |
| 14682 int shared_info_id = iterator.Next(); | 14691 int shared_info_id = iterator.Next(); |
| 14683 Object* shared_info = LiteralArray()->get(shared_info_id); | 14692 Object* shared_info = LiteralArray()->get(shared_info_id); |
| 14684 os << "{function=" << Brief(SharedFunctionInfo::cast(shared_info) | 14693 os << "{function=" << Brief(SharedFunctionInfo::cast(shared_info) |
| 14685 ->DebugName()) << "}"; | 14694 ->DebugName()) << "}"; |
| 14686 break; | 14695 break; |
| 14687 } | 14696 } |
| 14688 | 14697 |
| 14689 case Translation::REGISTER: { | 14698 case Translation::REGISTER: { |
| (...skipping 5150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19840 if (cell->value() != *new_value) { | 19849 if (cell->value() != *new_value) { |
| 19841 cell->set_value(*new_value); | 19850 cell->set_value(*new_value); |
| 19842 Isolate* isolate = cell->GetIsolate(); | 19851 Isolate* isolate = cell->GetIsolate(); |
| 19843 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 19852 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
| 19844 isolate, DependentCode::kPropertyCellChangedGroup); | 19853 isolate, DependentCode::kPropertyCellChangedGroup); |
| 19845 } | 19854 } |
| 19846 } | 19855 } |
| 19847 | 19856 |
| 19848 } // namespace internal | 19857 } // namespace internal |
| 19849 } // namespace v8 | 19858 } // namespace v8 |
| OLD | NEW |