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

Unified Diff: src/code-factory.cc

Issue 2418513002: [stubs] Drop LoadICStub and LoadICTrampolineStub (the non-TurboFan implementations of LoadIC dispatc (Closed)
Patch Set: Created 4 years, 2 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/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index e84e04ea5ac18e48807550c11098ef30814e9ebe..d0c50e7206a0ae3eb6decfa7fb79cb17bb368eef 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -23,11 +23,7 @@ Callable make_callable(Stub& stub) {
// static
Callable CodeFactory::LoadIC(Isolate* isolate) {
- if (FLAG_tf_load_ic_stub) {
- LoadICTrampolineTFStub stub(isolate);
- return make_callable(stub);
- }
- LoadICTrampolineStub stub(isolate);
+ LoadICTrampolineTFStub stub(isolate);
return make_callable(stub);
}
@@ -39,11 +35,7 @@ Callable CodeFactory::ApiGetter(Isolate* isolate) {
// static
Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) {
- if (FLAG_tf_load_ic_stub) {
- LoadICTFStub stub(isolate);
- return make_callable(stub);
- }
- LoadICStub stub(isolate);
+ LoadICTFStub stub(isolate);
return make_callable(stub);
}
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698