OSDN Git Service

initialize JSC::JSGlobalObject::JSGlobalObjectData members
authorIvailo Monev <xakepa10@gmail.com>
Sun, 15 May 2022 03:57:16 +0000 (06:57 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 15 May 2022 03:57:16 +0000 (06:57 +0300)
it's fix uninitialized variables o'clock here

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/3rdparty/javascriptcore/runtime/JSGlobalObject.h

index 9a05ce9..229f457 100644 (file)
@@ -67,6 +67,9 @@ namespace JSC {
                 : JSVariableObjectData(&symbolTable, 0)
                 , destructor(destructor)
                 , registerArraySize(0)
+                , next(0)
+                , prev(0)
+                , debugger(0)
                 , globalScopeChain(NoScopeChain())
                 , regExpConstructor(0)
                 , errorConstructor(0)