| Index: src/ic/ic.h
|
| diff --git a/src/ic/ic.h b/src/ic/ic.h
|
| index 8d45eab4b2c6301e2304dfd4686d45ae73d5d559..72c47db4fc988906a8641cc3a0d621ad35defed7 100644
|
| --- a/src/ic/ic.h
|
| +++ b/src/ic/ic.h
|
| @@ -328,7 +328,12 @@ class LoadGlobalIC : public LoadIC {
|
|
|
| protected:
|
| Handle<Code> slow_stub() const override {
|
| - return isolate()->builtins()->LoadGlobalIC_Slow();
|
| + if (LoadGlobalICState::GetTypeofMode(extra_ic_state()) ==
|
| + NOT_INSIDE_TYPEOF) {
|
| + return isolate()->builtins()->LoadGlobalIC_SlowNotInsideTypeof();
|
| + } else {
|
| + return isolate()->builtins()->LoadGlobalIC_SlowInsideTypeof();
|
| + }
|
| }
|
| };
|
|
|
|
|