| Index: src/stub-cache.cc
|
| ===================================================================
|
| --- src/stub-cache.cc (revision 2356)
|
| +++ src/stub-cache.cc (working copy)
|
| @@ -562,10 +562,11 @@
|
|
|
|
|
| static Object* GetProbeValue(Code::Flags flags) {
|
| - NumberDictionary* dictionary = Heap::non_monomorphic_cache();
|
| + // Use raw_unchecked... so we don't get assert failures during GC.
|
| + NumberDictionary* dictionary = Heap::raw_unchecked_non_monomorphic_cache();
|
| int entry = dictionary->FindEntry(flags);
|
| if (entry != -1) return dictionary->ValueAt(entry);
|
| - return Heap::undefined_value();
|
| + return Heap::raw_unchecked_undefined_value();
|
| }
|
|
|
|
|
|
|