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

Unified Diff: src/ic/ic.cc

Issue 2052763003: [ic] [stubs] Remove InlineCacheState field from the code flags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ic/ic.h ('k') | src/ic/stub-cache.cc » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index bafaffff7eaf5cf7392eb5cf3b19d93e46f8d592..846f56124a589ee6c73fab8037c737b42a2f6fce 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -45,12 +45,6 @@ char IC::TransitionMarkFromState(IC::State state) {
return 'N';
case GENERIC:
return 'G';
-
- // We never see the debugger states here, because the state is
- // computed from the original code - not the patched code. Let
- // these cases fall through to the unreachable code below.
- case DEBUG_STUB:
- break;
}
UNREACHABLE();
return 0;
@@ -359,7 +353,6 @@ static void ComputeTypeInfoCountDelta(IC::State old_state, IC::State new_state,
}
break;
case RECOMPUTE_HANDLER:
- case DEBUG_STUB:
UNREACHABLE();
}
}
@@ -799,8 +792,6 @@ void IC::PatchCache(Handle<Name> name, Handle<Code> code) {
DCHECK(UseVector());
vector_set_ = true;
break;
- case DEBUG_STUB:
- break;
case GENERIC:
UNREACHABLE();
break;
« no previous file with comments | « src/ic/ic.h ('k') | src/ic/stub-cache.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698