Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Side by Side Diff: src/ic/ic.cc

Issue 2745413006: Revert of Collect type profile for DevTools. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/feedback-vector-inl.h ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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
OLDNEW
« no previous file with comments | « src/feedback-vector-inl.h ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698