[gjs/wip/ptomato/mozjs38: 11/32] js: Set IMPLEMENTS_BARRIERS flag on fundamental



commit 7ac42c9fdc358c3eba06cd2e1d6da5667f42944f
Author: Philip Chimento <philip chimento gmail com>
Date:   Tue Jan 10 20:27:19 2017 -0800

    js: Set IMPLEMENTS_BARRIERS flag on fundamental
    
    This was the only class that didn't have this flag. In SpiderMonkey 38
    it's required on all classes that have a trace hook.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776966

 gi/fundamental.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gi/fundamental.cpp b/gi/fundamental.cpp
index fd7ea16..8bf0153 100644
--- a/gi/fundamental.cpp
+++ b/gi/fundamental.cpp
@@ -538,6 +538,7 @@ fundamental_trace(JSTracer *tracer,
 struct JSClass gjs_fundamental_instance_class = {
     "GFundamental_Object",
     JSCLASS_HAS_PRIVATE |
+    JSCLASS_IMPLEMENTS_BARRIERS |
     JSCLASS_NEW_RESOLVE,
     JS_PropertyStub,
     JS_DeletePropertyStub,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]