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