| 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/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 14220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14231 int ast_id = iterator.Next(); | 14231 int ast_id = iterator.Next(); |
| 14232 int shared_info_id = iterator.Next(); | 14232 int shared_info_id = iterator.Next(); |
| 14233 unsigned height = iterator.Next(); | 14233 unsigned height = iterator.Next(); |
| 14234 Object* shared_info = LiteralArray()->get(shared_info_id); | 14234 Object* shared_info = LiteralArray()->get(shared_info_id); |
| 14235 os << "{ast_id=" << ast_id << ", function=" | 14235 os << "{ast_id=" << ast_id << ", function=" |
| 14236 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) | 14236 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
| 14237 << ", height=" << height << "}"; | 14237 << ", height=" << height << "}"; |
| 14238 break; | 14238 break; |
| 14239 } | 14239 } |
| 14240 | 14240 |
| 14241 case Translation::INTERPRETED_FRAME: { |
| 14242 int bytecode_offset = iterator.Next(); |
| 14243 int shared_info_id = iterator.Next(); |
| 14244 unsigned height = iterator.Next(); |
| 14245 Object* shared_info = LiteralArray()->get(shared_info_id); |
| 14246 os << "{bytecode_offset=" << bytecode_offset << ", function=" |
| 14247 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
| 14248 << ", height=" << height << "}"; |
| 14249 break; |
| 14250 } |
| 14251 |
| 14241 case Translation::JS_FRAME_FUNCTION: { | 14252 case Translation::JS_FRAME_FUNCTION: { |
| 14242 os << "{function}"; | 14253 os << "{function}"; |
| 14243 break; | 14254 break; |
| 14244 } | 14255 } |
| 14245 | 14256 |
| 14246 case Translation::COMPILED_STUB_FRAME: { | 14257 case Translation::COMPILED_STUB_FRAME: { |
| 14247 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); | 14258 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); |
| 14248 os << "{kind=" << stub_kind << "}"; | 14259 os << "{kind=" << stub_kind << "}"; |
| 14249 break; | 14260 break; |
| 14250 } | 14261 } |
| (...skipping 5001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19252 if (cell->value() != *new_value) { | 19263 if (cell->value() != *new_value) { |
| 19253 cell->set_value(*new_value); | 19264 cell->set_value(*new_value); |
| 19254 Isolate* isolate = cell->GetIsolate(); | 19265 Isolate* isolate = cell->GetIsolate(); |
| 19255 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 19266 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
| 19256 isolate, DependentCode::kPropertyCellChangedGroup); | 19267 isolate, DependentCode::kPropertyCellChangedGroup); |
| 19257 } | 19268 } |
| 19258 } | 19269 } |
| 19259 | 19270 |
| 19260 } // namespace internal | 19271 } // namespace internal |
| 19261 } // namespace v8 | 19272 } // namespace v8 |
| OLD | NEW |