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 14824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14835 int bytecode_offset = iterator.Next(); | 14835 int bytecode_offset = iterator.Next(); |
14836 int shared_info_id = iterator.Next(); | 14836 int shared_info_id = iterator.Next(); |
14837 unsigned height = iterator.Next(); | 14837 unsigned height = iterator.Next(); |
14838 Object* shared_info = LiteralArray()->get(shared_info_id); | 14838 Object* shared_info = LiteralArray()->get(shared_info_id); |
14839 os << "{bytecode_offset=" << bytecode_offset << ", function=" | 14839 os << "{bytecode_offset=" << bytecode_offset << ", function=" |
14840 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) | 14840 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
14841 << ", height=" << height << "}"; | 14841 << ", height=" << height << "}"; |
14842 break; | 14842 break; |
14843 } | 14843 } |
14844 | 14844 |
14845 case Translation::JS_FRAME_FUNCTION: { | |
14846 os << "{function}"; | |
14847 break; | |
14848 } | |
14849 | |
14850 case Translation::COMPILED_STUB_FRAME: { | 14845 case Translation::COMPILED_STUB_FRAME: { |
14851 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); | 14846 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); |
14852 os << "{kind=" << stub_kind << "}"; | 14847 os << "{kind=" << stub_kind << "}"; |
14853 break; | 14848 break; |
14854 } | 14849 } |
14855 | 14850 |
14856 case Translation::ARGUMENTS_ADAPTOR_FRAME: | 14851 case Translation::ARGUMENTS_ADAPTOR_FRAME: |
14857 case Translation::CONSTRUCT_STUB_FRAME: { | 14852 case Translation::CONSTRUCT_STUB_FRAME: { |
14858 int shared_info_id = iterator.Next(); | 14853 int shared_info_id = iterator.Next(); |
14859 Object* shared_info = LiteralArray()->get(shared_info_id); | 14854 Object* shared_info = LiteralArray()->get(shared_info_id); |
(...skipping 5132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19992 if (cell->value() != *new_value) { | 19987 if (cell->value() != *new_value) { |
19993 cell->set_value(*new_value); | 19988 cell->set_value(*new_value); |
19994 Isolate* isolate = cell->GetIsolate(); | 19989 Isolate* isolate = cell->GetIsolate(); |
19995 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 19990 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
19996 isolate, DependentCode::kPropertyCellChangedGroup); | 19991 isolate, DependentCode::kPropertyCellChangedGroup); |
19997 } | 19992 } |
19998 } | 19993 } |
19999 | 19994 |
20000 } // namespace internal | 19995 } // namespace internal |
20001 } // namespace v8 | 19996 } // namespace v8 |
OLD | NEW |