diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-06-26 23:13:01 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-03 17:42:45 +0100 |
commit | 95badd197469e377bbed2319b8c5ee1e9581fa12 (patch) | |
tree | 767e6dbc407e311e573eb024c3f72db4964754fa /js/src/vm/Caches-inl.h | |
parent | 7a59ec756adc8fc4d394b221abcba5757c030f6d (diff) | |
download | UXP-95badd197469e377bbed2319b8c5ee1e9581fa12.tar UXP-95badd197469e377bbed2319b8c5ee1e9581fa12.tar.gz UXP-95badd197469e377bbed2319b8c5ee1e9581fa12.tar.lz UXP-95badd197469e377bbed2319b8c5ee1e9581fa12.tar.xz UXP-95badd197469e377bbed2319b8c5ee1e9581fa12.zip |
Remove upcomingZealousGC() and caller
Diffstat (limited to 'js/src/vm/Caches-inl.h')
-rw-r--r-- | js/src/vm/Caches-inl.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/js/src/vm/Caches-inl.h b/js/src/vm/Caches-inl.h index 4eb8ecaa6..56e69a0d9 100644 --- a/js/src/vm/Caches-inl.h +++ b/js/src/vm/Caches-inl.h @@ -57,9 +57,6 @@ NewObjectCache::newObjectFromHit(JSContext* cx, EntryIndex entryIndex, gc::Initi if (group->shouldPreTenure()) heap = gc::TenuredHeap; - if (cx->runtime()->gc.upcomingZealousGC()) - return nullptr; - NativeObject* obj = static_cast<NativeObject*>(Allocate<JSObject, NoGC>(cx, entry->kind, 0, heap, group->clasp())); if (!obj) |