| 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: |
| 584 case FeedbackSlotKind::kInvalid: | 585 case FeedbackSlotKind::kInvalid: |
| 585 case FeedbackSlotKind::kKindsNumber: | 586 case FeedbackSlotKind::kKindsNumber: |
| 586 UNREACHABLE(); | 587 UNREACHABLE(); |
| 587 break; | 588 break; |
| 588 } | 589 } |
| 589 | 590 |
| 590 vector_set_ = true; | 591 vector_set_ = true; |
| 591 OnFeedbackChanged(isolate(), GetHostFunction()); | 592 OnFeedbackChanged(isolate(), GetHostFunction()); |
| 592 } | 593 } |
| 593 | 594 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 621 case FeedbackSlotKind::kCall: | 622 case FeedbackSlotKind::kCall: |
| 622 case FeedbackSlotKind::kLoadGlobalNotInsideTypeof: | 623 case FeedbackSlotKind::kLoadGlobalNotInsideTypeof: |
| 623 case FeedbackSlotKind::kLoadGlobalInsideTypeof: | 624 case FeedbackSlotKind::kLoadGlobalInsideTypeof: |
| 624 case FeedbackSlotKind::kBinaryOp: | 625 case FeedbackSlotKind::kBinaryOp: |
| 625 case FeedbackSlotKind::kCompareOp: | 626 case FeedbackSlotKind::kCompareOp: |
| 626 case FeedbackSlotKind::kToBoolean: | 627 case FeedbackSlotKind::kToBoolean: |
| 627 case FeedbackSlotKind::kCreateClosure: | 628 case FeedbackSlotKind::kCreateClosure: |
| 628 case FeedbackSlotKind::kLiteral: | 629 case FeedbackSlotKind::kLiteral: |
| 629 case FeedbackSlotKind::kGeneral: | 630 case FeedbackSlotKind::kGeneral: |
| 630 case FeedbackSlotKind::kStoreDataPropertyInLiteral: | 631 case FeedbackSlotKind::kStoreDataPropertyInLiteral: |
| 632 case FeedbackSlotKind::kTypeProfile: |
| 631 case FeedbackSlotKind::kInvalid: | 633 case FeedbackSlotKind::kInvalid: |
| 632 case FeedbackSlotKind::kKindsNumber: | 634 case FeedbackSlotKind::kKindsNumber: |
| 633 UNREACHABLE(); | 635 UNREACHABLE(); |
| 634 break; | 636 break; |
| 635 } | 637 } |
| 636 | 638 |
| 637 vector_set_ = true; | 639 vector_set_ = true; |
| 638 OnFeedbackChanged(isolate(), GetHostFunction()); | 640 OnFeedbackChanged(isolate(), GetHostFunction()); |
| 639 } | 641 } |
| 640 | 642 |
| (...skipping 2572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3213 DCHECK_EQ(LookupIterator::INTERCEPTOR, it.state()); | 3215 DCHECK_EQ(LookupIterator::INTERCEPTOR, it.state()); |
| 3214 it.Next(); | 3216 it.Next(); |
| 3215 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, | 3217 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, |
| 3216 Object::GetProperty(&it)); | 3218 Object::GetProperty(&it)); |
| 3217 } | 3219 } |
| 3218 | 3220 |
| 3219 return *result; | 3221 return *result; |
| 3220 } | 3222 } |
| 3221 } // namespace internal | 3223 } // namespace internal |
| 3222 } // namespace v8 | 3224 } // namespace v8 |
| OLD | NEW |