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

Unified Diff: src/code-stubs.h

Issue 2055793002: Revert of [ic] Don't pollute per-map code cache with CompareIC stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | src/code-stubs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 4946c5c7bc5509507fed184600d4d52abde3e1af..abb0c9622ca0c1bfd067f3d61477d6f8dd63bc9e 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -2046,9 +2046,8 @@
bool strict() const { return op() == Token::EQ_STRICT; }
Condition GetCondition() const;
- // 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.
+ void AddToSpecialCache(Handle<Code> new_object) override;
+ bool FindCodeInSpecialCache(Code** code_out) override;
bool UseSpecialCache() override {
return state() == CompareICState::KNOWN_RECEIVER;
}
« no previous file with comments | « no previous file | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698