[ic] Remove impossible cases from FeedbackNexus::ConfigureUninitialized().
Change-Id: I835e6c7b5520b5ab5ad796e25a197e5b43cb9e58 Reviewed-on: https://chromium-review.googlesource.com/913569 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Michael Stanton <mvstanton@chromium.org> Cr-Commit-Position: refs/heads/master@{#51264}
This commit is contained in:
parent
b61b715c18
commit
58807a6f1f
@ -416,11 +416,6 @@ Handle<FixedArray> FeedbackNexus::EnsureExtraArrayOfSize(int length) {
|
||||
void FeedbackNexus::ConfigureUninitialized() {
|
||||
Isolate* isolate = GetIsolate();
|
||||
switch (kind()) {
|
||||
case FeedbackSlotKind::kCreateClosure:
|
||||
case FeedbackSlotKind::kLiteral:
|
||||
case FeedbackSlotKind::kTemplateObject:
|
||||
break;
|
||||
|
||||
case FeedbackSlotKind::kStoreGlobalSloppy:
|
||||
case FeedbackSlotKind::kStoreGlobalStrict:
|
||||
case FeedbackSlotKind::kLoadGlobalNotInsideTypeof:
|
||||
@ -436,22 +431,11 @@ void FeedbackNexus::ConfigureUninitialized() {
|
||||
SetFeedbackExtra(Smi::kZero, SKIP_WRITE_BARRIER);
|
||||
break;
|
||||
}
|
||||
case FeedbackSlotKind::kBinaryOp:
|
||||
case FeedbackSlotKind::kCompareOp:
|
||||
case FeedbackSlotKind::kForIn:
|
||||
case FeedbackSlotKind::kTypeProfile:
|
||||
case FeedbackSlotKind::kInstanceOf: {
|
||||
SetFeedback(*FeedbackVector::UninitializedSentinel(isolate),
|
||||
SKIP_WRITE_BARRIER);
|
||||
break;
|
||||
}
|
||||
case FeedbackSlotKind::kStoreNamedSloppy:
|
||||
case FeedbackSlotKind::kStoreNamedStrict:
|
||||
case FeedbackSlotKind::kStoreKeyedSloppy:
|
||||
case FeedbackSlotKind::kStoreKeyedStrict:
|
||||
case FeedbackSlotKind::kStoreOwnNamed:
|
||||
case FeedbackSlotKind::kLoadProperty:
|
||||
case FeedbackSlotKind::kLoadKeyed:
|
||||
case FeedbackSlotKind::kStoreDataPropertyInLiteral: {
|
||||
SetFeedback(*FeedbackVector::UninitializedSentinel(isolate),
|
||||
SKIP_WRITE_BARRIER);
|
||||
@ -459,11 +443,8 @@ void FeedbackNexus::ConfigureUninitialized() {
|
||||
SKIP_WRITE_BARRIER);
|
||||
break;
|
||||
}
|
||||
|
||||
case FeedbackSlotKind::kKindsNumber:
|
||||
case FeedbackSlotKind::kInvalid:
|
||||
default:
|
||||
UNREACHABLE();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user