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/ic/ic.h" | 5 #include "src/ic/ic.h" |
6 | 6 |
7 #include <iostream> | 7 #include <iostream> |
8 | 8 |
9 #include "src/accessors.h" | 9 #include "src/accessors.h" |
10 #include "src/api-arguments-inl.h" | 10 #include "src/api-arguments-inl.h" |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 break; | 574 break; |
575 } | 575 } |
576 case FeedbackSlotKind::kCall: | 576 case FeedbackSlotKind::kCall: |
577 case FeedbackSlotKind::kBinaryOp: | 577 case FeedbackSlotKind::kBinaryOp: |
578 case FeedbackSlotKind::kCompareOp: | 578 case FeedbackSlotKind::kCompareOp: |
579 case FeedbackSlotKind::kToBoolean: | 579 case FeedbackSlotKind::kToBoolean: |
580 case FeedbackSlotKind::kCreateClosure: | 580 case FeedbackSlotKind::kCreateClosure: |
581 case FeedbackSlotKind::kLiteral: | 581 case FeedbackSlotKind::kLiteral: |
582 case FeedbackSlotKind::kGeneral: | 582 case FeedbackSlotKind::kGeneral: |
583 case FeedbackSlotKind::kStoreDataPropertyInLiteral: | 583 case FeedbackSlotKind::kStoreDataPropertyInLiteral: |
584 case FeedbackSlotKind::kTypeProfile: | |
585 case FeedbackSlotKind::kInvalid: | 584 case FeedbackSlotKind::kInvalid: |
586 case FeedbackSlotKind::kKindsNumber: | 585 case FeedbackSlotKind::kKindsNumber: |
587 UNREACHABLE(); | 586 UNREACHABLE(); |
588 break; | 587 break; |
589 } | 588 } |
590 | 589 |
591 vector_set_ = true; | 590 vector_set_ = true; |
592 OnFeedbackChanged(isolate(), GetHostFunction()); | 591 OnFeedbackChanged(isolate(), GetHostFunction()); |
593 } | 592 } |
594 | 593 |
(...skipping 27 matching lines...) Expand all Loading... |
622 case FeedbackSlotKind::kCall: | 621 case FeedbackSlotKind::kCall: |
623 case FeedbackSlotKind::kLoadGlobalNotInsideTypeof: | 622 case FeedbackSlotKind::kLoadGlobalNotInsideTypeof: |
624 case FeedbackSlotKind::kLoadGlobalInsideTypeof: | 623 case FeedbackSlotKind::kLoadGlobalInsideTypeof: |
625 case FeedbackSlotKind::kBinaryOp: | 624 case FeedbackSlotKind::kBinaryOp: |
626 case FeedbackSlotKind::kCompareOp: | 625 case FeedbackSlotKind::kCompareOp: |
627 case FeedbackSlotKind::kToBoolean: | 626 case FeedbackSlotKind::kToBoolean: |
628 case FeedbackSlotKind::kCreateClosure: | 627 case FeedbackSlotKind::kCreateClosure: |
629 case FeedbackSlotKind::kLiteral: | 628 case FeedbackSlotKind::kLiteral: |
630 case FeedbackSlotKind::kGeneral: | 629 case FeedbackSlotKind::kGeneral: |
631 case FeedbackSlotKind::kStoreDataPropertyInLiteral: | 630 case FeedbackSlotKind::kStoreDataPropertyInLiteral: |
632 case FeedbackSlotKind::kTypeProfile: | |
633 case FeedbackSlotKind::kInvalid: | 631 case FeedbackSlotKind::kInvalid: |
634 case FeedbackSlotKind::kKindsNumber: | 632 case FeedbackSlotKind::kKindsNumber: |
635 UNREACHABLE(); | 633 UNREACHABLE(); |
636 break; | 634 break; |
637 } | 635 } |
638 | 636 |
639 vector_set_ = true; | 637 vector_set_ = true; |
640 OnFeedbackChanged(isolate(), GetHostFunction()); | 638 OnFeedbackChanged(isolate(), GetHostFunction()); |
641 } | 639 } |
642 | 640 |
(...skipping 2532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3175 DCHECK_EQ(LookupIterator::INTERCEPTOR, it.state()); | 3173 DCHECK_EQ(LookupIterator::INTERCEPTOR, it.state()); |
3176 it.Next(); | 3174 it.Next(); |
3177 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, | 3175 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, |
3178 Object::GetProperty(&it)); | 3176 Object::GetProperty(&it)); |
3179 } | 3177 } |
3180 | 3178 |
3181 return *result; | 3179 return *result; |
3182 } | 3180 } |
3183 } // namespace internal | 3181 } // namespace internal |
3184 } // namespace v8 | 3182 } // namespace v8 |
OLD | NEW |