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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 break; | 744 break; |
745 } | 745 } |
746 case FeedbackSlotKind::kStoreDataPropertyInLiteral: { | 746 case FeedbackSlotKind::kStoreDataPropertyInLiteral: { |
747 StoreDataPropertyInLiteralICNexus nexus(this, slot); | 747 StoreDataPropertyInLiteralICNexus nexus(this, slot); |
748 os << Code::ICState2String(nexus.StateFromFeedback()); | 748 os << Code::ICState2String(nexus.StateFromFeedback()); |
749 break; | 749 break; |
750 } | 750 } |
751 case FeedbackSlotKind::kCreateClosure: | 751 case FeedbackSlotKind::kCreateClosure: |
752 case FeedbackSlotKind::kLiteral: | 752 case FeedbackSlotKind::kLiteral: |
753 case FeedbackSlotKind::kGeneral: | 753 case FeedbackSlotKind::kGeneral: |
| 754 case FeedbackSlotKind::kTypeProfile: |
754 break; | 755 break; |
755 case FeedbackSlotKind::kToBoolean: | 756 case FeedbackSlotKind::kToBoolean: |
756 case FeedbackSlotKind::kInvalid: | 757 case FeedbackSlotKind::kInvalid: |
757 case FeedbackSlotKind::kKindsNumber: | 758 case FeedbackSlotKind::kKindsNumber: |
758 UNREACHABLE(); | 759 UNREACHABLE(); |
759 break; | 760 break; |
760 } | 761 } |
761 | 762 |
762 int entry_size = iter.entry_size(); | 763 int entry_size = iter.entry_size(); |
763 for (int i = 0; i < entry_size; i++) { | 764 for (int i = 0; i < entry_size; i++) { |
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1705 printf("Not a transition array\n"); | 1706 printf("Not a transition array\n"); |
1706 } else { | 1707 } else { |
1707 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1708 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1708 } | 1709 } |
1709 } | 1710 } |
1710 | 1711 |
1711 extern void _v8_internal_Print_StackTrace() { | 1712 extern void _v8_internal_Print_StackTrace() { |
1712 i::Isolate* isolate = i::Isolate::Current(); | 1713 i::Isolate* isolate = i::Isolate::Current(); |
1713 isolate->PrintStack(stdout); | 1714 isolate->PrintStack(stdout); |
1714 } | 1715 } |
OLD | NEW |