| Index: src/ic/ic-inl.h
|
| diff --git a/src/ic/ic-inl.h b/src/ic/ic-inl.h
|
| index b6ee6b13e53a812ddc0626cecf2604cbe90848d7..dffac2d43de54f1e93cb94674e40163b7fc49243 100644
|
| --- a/src/ic/ic-inl.h
|
| +++ b/src/ic/ic-inl.h
|
| @@ -134,8 +134,8 @@ void IC::set_target(Code* code) {
|
|
|
| void LoadIC::set_target(Code* code) {
|
| // The contextual mode must be preserved across IC patching.
|
| - DCHECK(LoadICState::GetContextualMode(code->extra_ic_state()) ==
|
| - LoadICState::GetContextualMode(target()->extra_ic_state()));
|
| + DCHECK(LoadICState::GetTypeofMode(code->extra_ic_state()) ==
|
| + LoadICState::GetTypeofMode(target()->extra_ic_state()));
|
| // Strongness must be preserved across IC patching.
|
| DCHECK(LoadICState::GetLanguageMode(code->extra_ic_state()) ==
|
| LoadICState::GetLanguageMode(target()->extra_ic_state()));
|
|
|