diff options
Diffstat (limited to 'gjs/coverage.cpp')
-rw-r--r-- | gjs/coverage.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gjs/coverage.cpp b/gjs/coverage.cpp index e50703f2..3304141d 100644 --- a/gjs/coverage.cpp +++ b/gjs/coverage.cpp @@ -1260,7 +1260,8 @@ gjs_coverage_init(GjsCoverage *self) static JSClass coverage_global_class = { "GjsCoverageGlobal", - JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(GJS_GLOBAL_SLOT_LAST), + JSCLASS_GLOBAL_FLAGS_WITH_SLOTS(GJS_GLOBAL_SLOT_LAST) | + JSCLASS_IMPLEMENTS_BARRIERS, JS_PropertyStub, JS_DeletePropertyStub, JS_PropertyStub, |