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 14378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14389 int bailout_id = iterator.Next(); | 14389 int bailout_id = iterator.Next(); |
14390 int shared_info_id = iterator.Next(); | 14390 int shared_info_id = iterator.Next(); |
14391 Object* shared_info = LiteralArray()->get(shared_info_id); | 14391 Object* shared_info = LiteralArray()->get(shared_info_id); |
14392 unsigned height = iterator.Next(); | 14392 unsigned height = iterator.Next(); |
14393 os << "{bailout_id=" << bailout_id << ", function=" | 14393 os << "{bailout_id=" << bailout_id << ", function=" |
14394 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) | 14394 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
14395 << ", height=" << height << "}"; | 14395 << ", height=" << height << "}"; |
14396 break; | 14396 break; |
14397 } | 14397 } |
14398 | 14398 |
| 14399 case Translation::BUILTIN_CONTINUATION_FRAME: { |
| 14400 int bailout_id = iterator.Next(); |
| 14401 int shared_info_id = iterator.Next(); |
| 14402 Object* shared_info = LiteralArray()->get(shared_info_id); |
| 14403 unsigned height = iterator.Next(); |
| 14404 os << "{bailout_id=" << bailout_id << ", function=" |
| 14405 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) |
| 14406 << ", height=" << height << "}"; |
| 14407 break; |
| 14408 } |
| 14409 |
14399 case Translation::COMPILED_STUB_FRAME: { | 14410 case Translation::COMPILED_STUB_FRAME: { |
14400 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); | 14411 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); |
14401 os << "{kind=" << stub_kind << "}"; | 14412 os << "{kind=" << stub_kind << "}"; |
14402 break; | 14413 break; |
14403 } | 14414 } |
14404 | 14415 |
14405 case Translation::ARGUMENTS_ADAPTOR_FRAME: { | 14416 case Translation::ARGUMENTS_ADAPTOR_FRAME: { |
14406 int shared_info_id = iterator.Next(); | 14417 int shared_info_id = iterator.Next(); |
14407 Object* shared_info = LiteralArray()->get(shared_info_id); | 14418 Object* shared_info = LiteralArray()->get(shared_info_id); |
14408 unsigned height = iterator.Next(); | 14419 unsigned height = iterator.Next(); |
(...skipping 6212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20621 // not | 20632 // not |
20622 // depend on this. | 20633 // depend on this. |
20623 return DICTIONARY_ELEMENTS; | 20634 return DICTIONARY_ELEMENTS; |
20624 } | 20635 } |
20625 DCHECK_LE(kind, LAST_ELEMENTS_KIND); | 20636 DCHECK_LE(kind, LAST_ELEMENTS_KIND); |
20626 return kind; | 20637 return kind; |
20627 } | 20638 } |
20628 } | 20639 } |
20629 } // namespace internal | 20640 } // namespace internal |
20630 } // namespace v8 | 20641 } // namespace v8 |
OLD | NEW |