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/disasm.h" | 10 #include "src/disasm.h" |
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 case FeedbackVectorSlotKind::STORE_IC: { | 743 case FeedbackVectorSlotKind::STORE_IC: { |
744 StoreICNexus nexus(this, slot); | 744 StoreICNexus nexus(this, slot); |
745 os << Code::ICState2String(nexus.StateFromFeedback()); | 745 os << Code::ICState2String(nexus.StateFromFeedback()); |
746 break; | 746 break; |
747 } | 747 } |
748 case FeedbackVectorSlotKind::KEYED_STORE_IC: { | 748 case FeedbackVectorSlotKind::KEYED_STORE_IC: { |
749 KeyedStoreICNexus nexus(this, slot); | 749 KeyedStoreICNexus nexus(this, slot); |
750 os << Code::ICState2String(nexus.StateFromFeedback()); | 750 os << Code::ICState2String(nexus.StateFromFeedback()); |
751 break; | 751 break; |
752 } | 752 } |
| 753 case FeedbackVectorSlotKind::INTERPRETER_BINARYOP_IC: { |
| 754 BinaryOpICNexus nexus(this, slot); |
| 755 os << Code::ICState2String(nexus.StateFromFeedback()); |
| 756 break; |
| 757 } |
| 758 case FeedbackVectorSlotKind::INTERPRETER_COMPARE_IC: { |
| 759 CompareICNexus nexus(this, slot); |
| 760 os << Code::ICState2String(nexus.StateFromFeedback()); |
| 761 break; |
| 762 } |
753 case FeedbackVectorSlotKind::GENERAL: | 763 case FeedbackVectorSlotKind::GENERAL: |
754 break; | 764 break; |
755 case FeedbackVectorSlotKind::INVALID: | 765 case FeedbackVectorSlotKind::INVALID: |
756 case FeedbackVectorSlotKind::KINDS_NUMBER: | 766 case FeedbackVectorSlotKind::KINDS_NUMBER: |
757 UNREACHABLE(); | 767 UNREACHABLE(); |
758 break; | 768 break; |
759 } | 769 } |
760 | 770 |
761 int entry_size = iter.entry_size(); | 771 int entry_size = iter.entry_size(); |
762 for (int i = 0; i < entry_size; i++) { | 772 for (int i = 0; i < entry_size; i++) { |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1523 printf("Not a transition array\n"); | 1533 printf("Not a transition array\n"); |
1524 } else { | 1534 } else { |
1525 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1535 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1526 } | 1536 } |
1527 } | 1537 } |
1528 | 1538 |
1529 extern void _v8_internal_Print_StackTrace() { | 1539 extern void _v8_internal_Print_StackTrace() { |
1530 i::Isolate* isolate = i::Isolate::Current(); | 1540 i::Isolate* isolate = i::Isolate::Current(); |
1531 isolate->PrintStack(stdout); | 1541 isolate->PrintStack(stdout); |
1532 } | 1542 } |
OLD | NEW |