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

Unified Diff: src/ic/ic.h

Issue 2237983004: Merged: Squashed multiple commits. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.3
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.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 72c47db4fc988906a8641cc3a0d621ad35defed7..8d45eab4b2c6301e2304dfd4686d45ae73d5d559 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -328,12 +328,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.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698