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

Unified Diff: src/code-stubs.cc

Issue 2346743003: [ic] Remove xxxIC_MissFromStubFailure runtime functions. (Closed)
Patch Set: Addressing comments Created 4 years, 3 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 | « no previous file | src/ic/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index e74d408ca62905c41c13d672ab5b22eb53fdf193..5124260ca946cd9521b1699329efdfa7f005f9ef 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -5201,14 +5201,10 @@ void KeyedLoadGenericStub::InitializeDescriptor(
void HandlerStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
- if (kind() == Code::STORE_IC) {
- descriptor->Initialize(FUNCTION_ADDR(Runtime_StoreIC_MissFromStubFailure));
- } else if (kind() == Code::KEYED_LOAD_IC) {
+ DCHECK(kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC);
+ if (kind() == Code::KEYED_LOAD_IC) {
descriptor->Initialize(
FUNCTION_ADDR(Runtime_KeyedLoadIC_MissFromStubFailure));
- } else if (kind() == Code::KEYED_STORE_IC) {
- descriptor->Initialize(
- FUNCTION_ADDR(Runtime_KeyedStoreIC_MissFromStubFailure));
}
}
« no previous file with comments | « no previous file | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698