| 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 break; | 567 break; |
| 568 } | 568 } |
| 569 case FeedbackSlotKind::kCall: | 569 case FeedbackSlotKind::kCall: |
| 570 case FeedbackSlotKind::kBinaryOp: | 570 case FeedbackSlotKind::kBinaryOp: |
| 571 case FeedbackSlotKind::kCompareOp: | 571 case FeedbackSlotKind::kCompareOp: |
| 572 case FeedbackSlotKind::kToBoolean: | 572 case FeedbackSlotKind::kToBoolean: |
| 573 case FeedbackSlotKind::kCreateClosure: | 573 case FeedbackSlotKind::kCreateClosure: |
| 574 case FeedbackSlotKind::kLiteral: | 574 case FeedbackSlotKind::kLiteral: |
| 575 case FeedbackSlotKind::kGeneral: | 575 case FeedbackSlotKind::kGeneral: |
| 576 case FeedbackSlotKind::kStoreDataPropertyInLiteral: | 576 case FeedbackSlotKind::kStoreDataPropertyInLiteral: |
| 577 case FeedbackSlotKind::kTypeProfile: |
| 577 case FeedbackSlotKind::kInvalid: | 578 case FeedbackSlotKind::kInvalid: |
| 578 case FeedbackSlotKind::kKindsNumber: | 579 case FeedbackSlotKind::kKindsNumber: |
| 579 UNREACHABLE(); | 580 UNREACHABLE(); |
| 580 break; | 581 break; |
| 581 } | 582 } |
| 582 | 583 |
| 583 vector_set_ = true; | 584 vector_set_ = true; |
| 584 OnFeedbackChanged(isolate(), GetHostFunction()); | 585 OnFeedbackChanged(isolate(), GetHostFunction()); |
| 585 } | 586 } |
| 586 | 587 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 613 case FeedbackSlotKind::kCall: | 614 case FeedbackSlotKind::kCall: |
| 614 case FeedbackSlotKind::kLoadGlobalNotInsideTypeof: | 615 case FeedbackSlotKind::kLoadGlobalNotInsideTypeof: |
| 615 case FeedbackSlotKind::kLoadGlobalInsideTypeof: | 616 case FeedbackSlotKind::kLoadGlobalInsideTypeof: |
| 616 case FeedbackSlotKind::kBinaryOp: | 617 case FeedbackSlotKind::kBinaryOp: |
| 617 case FeedbackSlotKind::kCompareOp: | 618 case FeedbackSlotKind::kCompareOp: |
| 618 case FeedbackSlotKind::kToBoolean: | 619 case FeedbackSlotKind::kToBoolean: |
| 619 case FeedbackSlotKind::kCreateClosure: | 620 case FeedbackSlotKind::kCreateClosure: |
| 620 case FeedbackSlotKind::kLiteral: | 621 case FeedbackSlotKind::kLiteral: |
| 621 case FeedbackSlotKind::kGeneral: | 622 case FeedbackSlotKind::kGeneral: |
| 622 case FeedbackSlotKind::kStoreDataPropertyInLiteral: | 623 case FeedbackSlotKind::kStoreDataPropertyInLiteral: |
| 624 case FeedbackSlotKind::kTypeProfile: |
| 623 case FeedbackSlotKind::kInvalid: | 625 case FeedbackSlotKind::kInvalid: |
| 624 case FeedbackSlotKind::kKindsNumber: | 626 case FeedbackSlotKind::kKindsNumber: |
| 625 UNREACHABLE(); | 627 UNREACHABLE(); |
| 626 break; | 628 break; |
| 627 } | 629 } |
| 628 | 630 |
| 629 vector_set_ = true; | 631 vector_set_ = true; |
| 630 OnFeedbackChanged(isolate(), GetHostFunction()); | 632 OnFeedbackChanged(isolate(), GetHostFunction()); |
| 631 } | 633 } |
| 632 | 634 |
| (...skipping 2476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3109 DCHECK_EQ(LookupIterator::INTERCEPTOR, it.state()); | 3111 DCHECK_EQ(LookupIterator::INTERCEPTOR, it.state()); |
| 3110 it.Next(); | 3112 it.Next(); |
| 3111 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, | 3113 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, |
| 3112 Object::GetProperty(&it)); | 3114 Object::GetProperty(&it)); |
| 3113 } | 3115 } |
| 3114 | 3116 |
| 3115 return *result; | 3117 return *result; |
| 3116 } | 3118 } |
| 3117 } // namespace internal | 3119 } // namespace internal |
| 3118 } // namespace v8 | 3120 } // namespace v8 |
| OLD | NEW |