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 14325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14336 int ast_id = iterator.Next(); | 14336 int ast_id = iterator.Next(); |
14337 int shared_info_id = iterator.Next(); | 14337 int shared_info_id = iterator.Next(); |
14338 unsigned height = iterator.Next(); | 14338 unsigned height = iterator.Next(); |
14339 Object* shared_info = LiteralArray()->get(shared_info_id); | 14339 Object* shared_info = LiteralArray()->get(shared_info_id); |
14340 os << "{ast_id=" << ast_id << ", function=" | 14340 os << "{ast_id=" << ast_id << ", function=" |
14341 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) | 14341 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
14342 << ", height=" << height << "}"; | 14342 << ", height=" << height << "}"; |
14343 break; | 14343 break; |
14344 } | 14344 } |
14345 | 14345 |
| 14346 case Translation::INTERPRETED_FRAME: { |
| 14347 int bytecode_offset = iterator.Next(); |
| 14348 int shared_info_id = iterator.Next(); |
| 14349 unsigned height = iterator.Next(); |
| 14350 Object* shared_info = LiteralArray()->get(shared_info_id); |
| 14351 os << "{bytecode_offset=" << bytecode_offset << ", function=" |
| 14352 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
| 14353 << ", height=" << height << "}"; |
| 14354 break; |
| 14355 } |
| 14356 |
14346 case Translation::JS_FRAME_FUNCTION: { | 14357 case Translation::JS_FRAME_FUNCTION: { |
14347 os << "{function}"; | 14358 os << "{function}"; |
14348 break; | 14359 break; |
14349 } | 14360 } |
14350 | 14361 |
14351 case Translation::COMPILED_STUB_FRAME: { | 14362 case Translation::COMPILED_STUB_FRAME: { |
14352 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); | 14363 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); |
14353 os << "{kind=" << stub_kind << "}"; | 14364 os << "{kind=" << stub_kind << "}"; |
14354 break; | 14365 break; |
14355 } | 14366 } |
(...skipping 5009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19365 if (cell->value() != *new_value) { | 19376 if (cell->value() != *new_value) { |
19366 cell->set_value(*new_value); | 19377 cell->set_value(*new_value); |
19367 Isolate* isolate = cell->GetIsolate(); | 19378 Isolate* isolate = cell->GetIsolate(); |
19368 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 19379 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
19369 isolate, DependentCode::kPropertyCellChangedGroup); | 19380 isolate, DependentCode::kPropertyCellChangedGroup); |
19370 } | 19381 } |
19371 } | 19382 } |
19372 | 19383 |
19373 } // namespace internal | 19384 } // namespace internal |
19374 } // namespace v8 | 19385 } // namespace v8 |
OLD | NEW |