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

Unified Diff: src/heap/heap-inl.h

Issue 2932263002: [cleanup] Remove instanceof cache. (Closed)
Patch Set: Created 3 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 | « src/heap/heap.cc ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap-inl.h
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
index b6a9887c62e80d5937d765873dccad01a0537d7d..71974d94204ab39cb29ce68941bfa900a17e4e8e 100644
--- a/src/heap/heap-inl.h
+++ b/src/heap/heap-inl.h
@@ -753,19 +753,10 @@ void Heap::ExternalStringTable::ShrinkNewStrings(int position) {
#endif
}
-void Heap::ClearInstanceofCache() { set_instanceof_cache_function(Smi::kZero); }
-
Oddball* Heap::ToBoolean(bool condition) {
return condition ? true_value() : false_value();
}
-
-void Heap::CompletelyClearInstanceofCache() {
- set_instanceof_cache_map(Smi::kZero);
- set_instanceof_cache_function(Smi::kZero);
-}
-
-
uint32_t Heap::HashSeed() {
uint32_t seed = static_cast<uint32_t>(hash_seed()->value());
DCHECK(FLAG_randomize_hashes || seed == 0);
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698