| Index: src/type-feedback-vector.cc
|
| diff --git a/src/type-feedback-vector.cc b/src/type-feedback-vector.cc
|
| index 9d7169e9d6a988406d2b0d255d47df6153c2d3ed..7b7b434f5600154d45b7eba03c37bed8eeb375b7 100644
|
| --- a/src/type-feedback-vector.cc
|
| +++ b/src/type-feedback-vector.cc
|
| @@ -109,8 +109,6 @@
|
| return "INVALID";
|
| case FeedbackVectorSlotKind::CALL_IC:
|
| return "CALL_IC";
|
| - case FeedbackVectorSlotKind::CONSTRUCT_IC:
|
| - return "CONSTRUCT_IC";
|
| case FeedbackVectorSlotKind::LOAD_IC:
|
| return "LOAD_IC";
|
| case FeedbackVectorSlotKind::KEYED_LOAD_IC:
|
| @@ -221,11 +219,6 @@
|
| switch (kind) {
|
| case FeedbackVectorSlotKind::CALL_IC: {
|
| CallICNexus nexus(this, slot);
|
| - nexus.Clear(shared->code());
|
| - break;
|
| - }
|
| - case FeedbackVectorSlotKind::CONSTRUCT_IC: {
|
| - ConstructICNexus nexus(this, slot);
|
| nexus.Clear(shared->code());
|
| break;
|
| }
|
| @@ -492,18 +485,6 @@
|
| }
|
|
|
|
|
| -Handle<Object> CallICNexus::GetCallFeedback() {
|
| - Object* feedback = GetFeedback();
|
| - if (feedback->IsWeakCell()) {
|
| - feedback = WeakCell::cast(feedback)->value();
|
| - }
|
| - if (!feedback->IsJSFunction() && !feedback->IsAllocationSite()) {
|
| - feedback = GetIsolate()->heap()->undefined_value();
|
| - }
|
| - return handle(feedback, GetIsolate());
|
| -}
|
| -
|
| -
|
| int CallICNexus::ExtractCallCount() {
|
| Object* call_count = GetFeedbackExtra();
|
| if (call_count->IsSmi()) {
|
| @@ -515,11 +496,6 @@
|
|
|
|
|
| void CallICNexus::Clear(Code* host) { CallIC::Clear(GetIsolate(), host, this); }
|
| -
|
| -
|
| -void ConstructICNexus::Clear(Code* host) {
|
| - ConstructIC::Clear(GetIsolate(), host, this);
|
| -}
|
|
|
|
|
| void CallICNexus::ConfigureMonomorphicArray() {
|
|
|