Bug 1418841 - Fix DeletePolicy of WasmInstanceScope::Data. r=jonco a=gchang
authorTed Campbell <tcampbell@mozilla.com>
Sat, 18 Nov 2017 17:27:11 -0500
changeset 444964 f24456236534520e2c381c765fcfd7a775fbc5cd
parent 444963 3480ca96e9cd95c0c889899a07d8b738c594c517
child 444965 1b83e2c69374e442636a7c79619b2a173ef9ad0d
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco, gchang
bugs1418841
milestone58.0
Bug 1418841 - Fix DeletePolicy of WasmInstanceScope::Data. r=jonco a=gchang MozReview-Commit-ID: EgLb7uTE52G
js/src/gc/Zone.h
--- a/js/src/gc/Zone.h
+++ b/js/src/gc/Zone.h
@@ -1063,11 +1063,16 @@ struct DeletePolicy<js::FunctionScope::D
   : public js::GCManagedDeletePolicy<js::FunctionScope::Data>
 { };
 
 template <>
 struct DeletePolicy<js::ModuleScope::Data>
   : public js::GCManagedDeletePolicy<js::ModuleScope::Data>
 { };
 
+template <>
+struct DeletePolicy<js::WasmInstanceScope::Data>
+  : public js::GCManagedDeletePolicy<js::WasmInstanceScope::Data>
+{ };
+
 } // namespace JS
 
 #endif // gc_Zone_h