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 "src/disasm.h" | 7 #include "src/disasm.h" |
8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
9 #include "src/interpreter/bytecodes.h" | 9 #include "src/interpreter/bytecodes.h" |
10 #include "src/objects-inl.h" | 10 #include "src/objects-inl.h" |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 case FeedbackVectorSlotKind::KEYED_LOAD_IC: { | 612 case FeedbackVectorSlotKind::KEYED_LOAD_IC: { |
613 KeyedLoadICNexus nexus(this, slot); | 613 KeyedLoadICNexus nexus(this, slot); |
614 os << Code::ICState2String(nexus.StateFromFeedback()); | 614 os << Code::ICState2String(nexus.StateFromFeedback()); |
615 break; | 615 break; |
616 } | 616 } |
617 case FeedbackVectorSlotKind::CALL_IC: { | 617 case FeedbackVectorSlotKind::CALL_IC: { |
618 CallICNexus nexus(this, slot); | 618 CallICNexus nexus(this, slot); |
619 os << Code::ICState2String(nexus.StateFromFeedback()); | 619 os << Code::ICState2String(nexus.StateFromFeedback()); |
620 break; | 620 break; |
621 } | 621 } |
| 622 case FeedbackVectorSlotKind::CONSTRUCT_IC: { |
| 623 ConstructICNexus nexus(this, slot); |
| 624 os << Code::ICState2String(nexus.StateFromFeedback()); |
| 625 break; |
| 626 } |
622 case FeedbackVectorSlotKind::STORE_IC: { | 627 case FeedbackVectorSlotKind::STORE_IC: { |
623 StoreICNexus nexus(this, slot); | 628 StoreICNexus nexus(this, slot); |
624 os << Code::ICState2String(nexus.StateFromFeedback()); | 629 os << Code::ICState2String(nexus.StateFromFeedback()); |
625 break; | 630 break; |
626 } | 631 } |
627 case FeedbackVectorSlotKind::KEYED_STORE_IC: { | 632 case FeedbackVectorSlotKind::KEYED_STORE_IC: { |
628 KeyedStoreICNexus nexus(this, slot); | 633 KeyedStoreICNexus nexus(this, slot); |
629 os << Code::ICState2String(nexus.StateFromFeedback()); | 634 os << Code::ICState2String(nexus.StateFromFeedback()); |
630 break; | 635 break; |
631 } | 636 } |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1328 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
1324 Object* transitions = map()->raw_transitions(); | 1329 Object* transitions = map()->raw_transitions(); |
1325 int num_transitions = TransitionArray::NumberOfTransitions(transitions); | 1330 int num_transitions = TransitionArray::NumberOfTransitions(transitions); |
1326 if (num_transitions == 0) return; | 1331 if (num_transitions == 0) return; |
1327 os << "\n - transitions"; | 1332 os << "\n - transitions"; |
1328 TransitionArray::PrintTransitions(os, transitions, false); | 1333 TransitionArray::PrintTransitions(os, transitions, false); |
1329 } | 1334 } |
1330 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1335 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
1331 } // namespace internal | 1336 } // namespace internal |
1332 } // namespace v8 | 1337 } // namespace v8 |
OLD | NEW |