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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
801 break; | 801 break; |
802 } | 802 } |
803 case FeedbackVectorSlotKind::INTERPRETER_COMPARE_IC: { | 803 case FeedbackVectorSlotKind::INTERPRETER_COMPARE_IC: { |
804 CompareICNexus nexus(this, slot); | 804 CompareICNexus nexus(this, slot); |
805 os << Code::ICState2String(nexus.StateFromFeedback()); | 805 os << Code::ICState2String(nexus.StateFromFeedback()); |
806 break; | 806 break; |
807 } | 807 } |
808 case FeedbackVectorSlotKind::STORE_DATA_PROPERTY_IN_LITERAL_IC: { | 808 case FeedbackVectorSlotKind::STORE_DATA_PROPERTY_IN_LITERAL_IC: { |
809 StoreDataPropertyInLiteralICNexus nexus(this, slot); | 809 StoreDataPropertyInLiteralICNexus nexus(this, slot); |
810 os << Code::ICState2String(nexus.StateFromFeedback()); | 810 os << Code::ICState2String(nexus.StateFromFeedback()); |
811 break; | |
Michael Starzinger
2017/01/11 12:07:27
Looks like accidental deletion. I think this is a
mvstanton
2017/01/11 13:14:52
yowza, thanks!
| |
812 } | 811 } |
813 case FeedbackVectorSlotKind::CREATE_CLOSURE: { | 812 case FeedbackVectorSlotKind::CREATE_CLOSURE: { |
814 // TODO(mvstanton): Integrate this into the iterator. | 813 // TODO(mvstanton): Integrate this into the iterator. |
815 int parameter_value = metadata()->GetParameter(parameter_index++); | 814 int parameter_value = metadata()->GetParameter(parameter_index++); |
816 os << "[" << parameter_value << "]"; | 815 os << "[" << parameter_value << "]"; |
817 break; | 816 break; |
818 } | 817 } |
819 case FeedbackVectorSlotKind::GENERAL: | 818 case FeedbackVectorSlotKind::GENERAL: |
820 break; | 819 break; |
821 case FeedbackVectorSlotKind::INVALID: | 820 case FeedbackVectorSlotKind::INVALID: |
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1702 printf("Not a transition array\n"); | 1701 printf("Not a transition array\n"); |
1703 } else { | 1702 } else { |
1704 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1703 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1705 } | 1704 } |
1706 } | 1705 } |
1707 | 1706 |
1708 extern void _v8_internal_Print_StackTrace() { | 1707 extern void _v8_internal_Print_StackTrace() { |
1709 i::Isolate* isolate = i::Isolate::Current(); | 1708 i::Isolate* isolate = i::Isolate::Current(); |
1710 isolate->PrintStack(stdout); | 1709 isolate->PrintStack(stdout); |
1711 } | 1710 } |
OLD | NEW |