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(); |
} |
}; |