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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 break; | 743 break; |
744 } | 744 } |
745 case FeedbackSlotKind::kStoreDataPropertyInLiteral: { | 745 case FeedbackSlotKind::kStoreDataPropertyInLiteral: { |
746 StoreDataPropertyInLiteralICNexus nexus(this, slot); | 746 StoreDataPropertyInLiteralICNexus nexus(this, slot); |
747 os << Code::ICState2String(nexus.StateFromFeedback()); | 747 os << Code::ICState2String(nexus.StateFromFeedback()); |
748 break; | 748 break; |
749 } | 749 } |
750 case FeedbackSlotKind::kCreateClosure: | 750 case FeedbackSlotKind::kCreateClosure: |
751 case FeedbackSlotKind::kLiteral: | 751 case FeedbackSlotKind::kLiteral: |
752 case FeedbackSlotKind::kGeneral: | 752 case FeedbackSlotKind::kGeneral: |
| 753 case FeedbackSlotKind::kTypeProfile: |
753 break; | 754 break; |
754 case FeedbackSlotKind::kToBoolean: | 755 case FeedbackSlotKind::kToBoolean: |
755 case FeedbackSlotKind::kInvalid: | 756 case FeedbackSlotKind::kInvalid: |
756 case FeedbackSlotKind::kKindsNumber: | 757 case FeedbackSlotKind::kKindsNumber: |
757 UNREACHABLE(); | 758 UNREACHABLE(); |
758 break; | 759 break; |
759 } | 760 } |
760 | 761 |
761 int entry_size = iter.entry_size(); | 762 int entry_size = iter.entry_size(); |
762 for (int i = 0; i < entry_size; i++) { | 763 for (int i = 0; i < entry_size; i++) { |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1692 printf("Not a transition array\n"); | 1693 printf("Not a transition array\n"); |
1693 } else { | 1694 } else { |
1694 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1695 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1695 } | 1696 } |
1696 } | 1697 } |
1697 | 1698 |
1698 extern void _v8_internal_Print_StackTrace() { | 1699 extern void _v8_internal_Print_StackTrace() { |
1699 i::Isolate* isolate = i::Isolate::Current(); | 1700 i::Isolate* isolate = i::Isolate::Current(); |
1700 isolate->PrintStack(stdout); | 1701 isolate->PrintStack(stdout); |
1701 } | 1702 } |
OLD | NEW |