Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index 2f9830a57e79b43e874f55def03b86685e31ec69..d42bfa77934e95dfe5b2a375291498f2cf3474f4 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -165,7 +165,7 @@ Code* PropertyICCompiler::FindPreMonomorphic(Isolate* isolate, Code::Kind kind, |
static void FillCache(Isolate* isolate, Handle<Code> code) { |
Handle<UnseededNumberDictionary> dictionary = UnseededNumberDictionary::Set( |
isolate->factory()->non_monomorphic_cache(), code->flags(), code); |
- isolate->heap()->public_set_non_monomorphic_cache(*dictionary); |
+ isolate->heap()->SetRootNonMonomorphicCache(*dictionary); |
} |