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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1702 printf("Not a transition array\n"); | 1703 printf("Not a transition array\n"); |
1703 } else { | 1704 } else { |
1704 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1705 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1705 } | 1706 } |
1706 } | 1707 } |
1707 | 1708 |
1708 extern void _v8_internal_Print_StackTrace() { | 1709 extern void _v8_internal_Print_StackTrace() { |
1709 i::Isolate* isolate = i::Isolate::Current(); | 1710 i::Isolate* isolate = i::Isolate::Current(); |
1710 isolate->PrintStack(stdout); | 1711 isolate->PrintStack(stdout); |
1711 } | 1712 } |
OLD | NEW |