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 <memory> | 9 #include <memory> |
10 #include <sstream> | 10 #include <sstream> |
(...skipping 14539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14550 int bailout_id = iterator.Next(); | 14550 int bailout_id = iterator.Next(); |
14551 int shared_info_id = iterator.Next(); | 14551 int shared_info_id = iterator.Next(); |
14552 Object* shared_info = LiteralArray()->get(shared_info_id); | 14552 Object* shared_info = LiteralArray()->get(shared_info_id); |
14553 unsigned height = iterator.Next(); | 14553 unsigned height = iterator.Next(); |
14554 os << "{bailout_id=" << bailout_id << ", function=" | 14554 os << "{bailout_id=" << bailout_id << ", function=" |
14555 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) | 14555 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
14556 << ", height=" << height << "}"; | 14556 << ", height=" << height << "}"; |
14557 break; | 14557 break; |
14558 } | 14558 } |
14559 | 14559 |
| 14560 case Translation::BUILTIN_CONTINUATION_FRAME: { |
| 14561 int bailout_id = iterator.Next(); |
| 14562 int shared_info_id = iterator.Next(); |
| 14563 Object* shared_info = LiteralArray()->get(shared_info_id); |
| 14564 unsigned height = iterator.Next(); |
| 14565 os << "{bailout_id=" << bailout_id << ", function=" |
| 14566 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
| 14567 << ", height=" << height << "}"; |
| 14568 break; |
| 14569 } |
| 14570 |
14560 case Translation::COMPILED_STUB_FRAME: { | 14571 case Translation::COMPILED_STUB_FRAME: { |
14561 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); | 14572 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); |
14562 os << "{kind=" << stub_kind << "}"; | 14573 os << "{kind=" << stub_kind << "}"; |
14563 break; | 14574 break; |
14564 } | 14575 } |
14565 | 14576 |
14566 case Translation::ARGUMENTS_ADAPTOR_FRAME: { | 14577 case Translation::ARGUMENTS_ADAPTOR_FRAME: { |
14567 int shared_info_id = iterator.Next(); | 14578 int shared_info_id = iterator.Next(); |
14568 Object* shared_info = LiteralArray()->get(shared_info_id); | 14579 Object* shared_info = LiteralArray()->get(shared_info_id); |
14569 unsigned height = iterator.Next(); | 14580 unsigned height = iterator.Next(); |
(...skipping 6094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20664 // depend on this. | 20675 // depend on this. |
20665 return DICTIONARY_ELEMENTS; | 20676 return DICTIONARY_ELEMENTS; |
20666 } | 20677 } |
20667 DCHECK_LE(kind, LAST_ELEMENTS_KIND); | 20678 DCHECK_LE(kind, LAST_ELEMENTS_KIND); |
20668 return kind; | 20679 return kind; |
20669 } | 20680 } |
20670 } | 20681 } |
20671 | 20682 |
20672 } // namespace internal | 20683 } // namespace internal |
20673 } // namespace v8 | 20684 } // namespace v8 |
OLD | NEW |