OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 <iomanip> | 7 #include <iomanip> |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 break; | 741 break; |
742 } | 742 } |
743 case FeedbackSlotKind::kStoreDataPropertyInLiteral: { | 743 case FeedbackSlotKind::kStoreDataPropertyInLiteral: { |
744 StoreDataPropertyInLiteralICNexus nexus(this, slot); | 744 StoreDataPropertyInLiteralICNexus nexus(this, slot); |
745 os << Code::ICState2String(nexus.StateFromFeedback()); | 745 os << Code::ICState2String(nexus.StateFromFeedback()); |
746 break; | 746 break; |
747 } | 747 } |
748 case FeedbackSlotKind::kCreateClosure: | 748 case FeedbackSlotKind::kCreateClosure: |
749 case FeedbackSlotKind::kLiteral: | 749 case FeedbackSlotKind::kLiteral: |
750 case FeedbackSlotKind::kGeneral: | 750 case FeedbackSlotKind::kGeneral: |
| 751 case FeedbackSlotKind::kTypeProfile: |
751 break; | 752 break; |
752 case FeedbackSlotKind::kToBoolean: | 753 case FeedbackSlotKind::kToBoolean: |
753 case FeedbackSlotKind::kInvalid: | 754 case FeedbackSlotKind::kInvalid: |
754 case FeedbackSlotKind::kKindsNumber: | 755 case FeedbackSlotKind::kKindsNumber: |
755 UNREACHABLE(); | 756 UNREACHABLE(); |
756 break; | 757 break; |
757 } | 758 } |
758 | 759 |
759 int entry_size = iter.entry_size(); | 760 int entry_size = iter.entry_size(); |
760 for (int i = 0; i < entry_size; i++) { | 761 for (int i = 0; i < entry_size; i++) { |
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1666 printf("Not a transition array\n"); | 1667 printf("Not a transition array\n"); |
1667 } else { | 1668 } else { |
1668 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1669 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1669 } | 1670 } |
1670 } | 1671 } |
1671 | 1672 |
1672 extern void _v8_internal_Print_StackTrace() { | 1673 extern void _v8_internal_Print_StackTrace() { |
1673 i::Isolate* isolate = i::Isolate::Current(); | 1674 i::Isolate* isolate = i::Isolate::Current(); |
1674 isolate->PrintStack(stdout); | 1675 isolate->PrintStack(stdout); |
1675 } | 1676 } |
OLD | NEW |