diff options
author | Moonchild <moonchild@palemoon.org> | 2019-06-29 13:38:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-29 13:38:05 +0000 |
commit | f1a68a3aa103fad939598904702c1d65c4fed6f8 (patch) | |
tree | 7f58864f0cd14040d23a64add100eefd8ff6538b /js/src/jscompartment.cpp | |
parent | 01e1fcf522219bf1b2d7d2dcc6209db3d270a182 (diff) | |
parent | 35d29c05c59057fc84be41ec94f2e3bc31ddef44 (diff) | |
download | UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.tar UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.tar.gz UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.tar.lz UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.tar.xz UXP-f1a68a3aa103fad939598904702c1d65c4fed6f8.zip |
Merge pull request #1146 from g4jc/unboxed_debug_bustage
Issue #1142 - Cleanup unused debug code for unboxed objects
Diffstat (limited to 'js/src/jscompartment.cpp')
-rw-r--r-- | js/src/jscompartment.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/js/src/jscompartment.cpp b/js/src/jscompartment.cpp index a48bb0ffe..6024a1768 100644 --- a/js/src/jscompartment.cpp +++ b/js/src/jscompartment.cpp @@ -112,13 +112,6 @@ JSCompartment::~JSCompartment() js_delete(nonSyntacticLexicalEnvironments_), js_free(enumerators); -#ifdef DEBUG - // Avoid assertion destroying the unboxed layouts list if the embedding - // leaked GC things. - if (!rt->gc.shutdownCollectedEverything()) - unboxedLayouts.clear(); -#endif - runtime_->numCompartments--; } |