| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index abb0c9622ca0c1bfd067f3d61477d6f8dd63bc9e..4946c5c7bc5509507fed184600d4d52abde3e1af 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -2046,8 +2046,9 @@
|
| bool strict() const { return op() == Token::EQ_STRICT; }
|
| Condition GetCondition() const;
|
|
|
| - void AddToSpecialCache(Handle<Code> new_object) override;
|
| - bool FindCodeInSpecialCache(Code** code_out) override;
|
| + // Although we don't cache anything in the special cache we have to define
|
| + // this predicate to avoid appearance of code stubs with embedded maps in
|
| + // the global stub cache.
|
| bool UseSpecialCache() override {
|
| return state() == CompareICState::KNOWN_RECEIVER;
|
| }
|
|
|