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

Unified Diff: src/ic/ic.h

Issue 2220203002: [ic] Merge LoadGlobalIC_Slow builtins for inside typeof and outside typeof cases. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/builtins/builtins-handler.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.h
diff --git a/src/ic/ic.h b/src/ic/ic.h
index 52508bb267c995065390f36ab671312c66bb1c52..35f384446465b4ee3a4a1ad80ac1832f830d5db5 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -320,12 +320,7 @@ class LoadGlobalIC : public LoadIC {
protected:
Handle<Code> slow_stub() const override {
- if (LoadGlobalICState::GetTypeofMode(extra_ic_state()) ==
- NOT_INSIDE_TYPEOF) {
- return isolate()->builtins()->LoadGlobalIC_SlowNotInsideTypeof();
- } else {
- return isolate()->builtins()->LoadGlobalIC_SlowInsideTypeof();
- }
+ return isolate()->builtins()->LoadGlobalIC_Slow();
}
};
« no previous file with comments | « src/builtins/builtins-handler.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698