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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 case FeedbackVectorSlotKind::INTERPRETER_BINARYOP_IC: { | 792 case FeedbackVectorSlotKind::INTERPRETER_BINARYOP_IC: { |
793 BinaryOpICNexus nexus(this, slot); | 793 BinaryOpICNexus nexus(this, slot); |
794 os << Code::ICState2String(nexus.StateFromFeedback()); | 794 os << Code::ICState2String(nexus.StateFromFeedback()); |
795 break; | 795 break; |
796 } | 796 } |
797 case FeedbackVectorSlotKind::INTERPRETER_COMPARE_IC: { | 797 case FeedbackVectorSlotKind::INTERPRETER_COMPARE_IC: { |
798 CompareICNexus nexus(this, slot); | 798 CompareICNexus nexus(this, slot); |
799 os << Code::ICState2String(nexus.StateFromFeedback()); | 799 os << Code::ICState2String(nexus.StateFromFeedback()); |
800 break; | 800 break; |
801 } | 801 } |
| 802 case FeedbackVectorSlotKind::STORE_DATA_PROPERTY_IN_LITERAL_IC: { |
| 803 StoreDataPropertyInLiteralICNexus nexus(this, slot); |
| 804 os << Code::ICState2String(nexus.StateFromFeedback()); |
| 805 break; |
| 806 } |
802 case FeedbackVectorSlotKind::GENERAL: | 807 case FeedbackVectorSlotKind::GENERAL: |
803 break; | 808 break; |
804 case FeedbackVectorSlotKind::INVALID: | 809 case FeedbackVectorSlotKind::INVALID: |
805 case FeedbackVectorSlotKind::KINDS_NUMBER: | 810 case FeedbackVectorSlotKind::KINDS_NUMBER: |
806 UNREACHABLE(); | 811 UNREACHABLE(); |
807 break; | 812 break; |
808 } | 813 } |
809 | 814 |
810 int entry_size = iter.entry_size(); | 815 int entry_size = iter.entry_size(); |
811 for (int i = 0; i < entry_size; i++) { | 816 for (int i = 0; i < entry_size; i++) { |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1685 printf("Not a transition array\n"); | 1690 printf("Not a transition array\n"); |
1686 } else { | 1691 } else { |
1687 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1692 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1688 } | 1693 } |
1689 } | 1694 } |
1690 | 1695 |
1691 extern void _v8_internal_Print_StackTrace() { | 1696 extern void _v8_internal_Print_StackTrace() { |
1692 i::Isolate* isolate = i::Isolate::Current(); | 1697 i::Isolate* isolate = i::Isolate::Current(); |
1693 isolate->PrintStack(stdout); | 1698 isolate->PrintStack(stdout); |
1694 } | 1699 } |
OLD | NEW |