ASSERTION FAILED: "We should only declare a function as a lexically scoped variable...
[WebKit-https.git] / Source / JavaScriptCore / parser / Parser.h
index 2a6c256..29173ab 100644 (file)
@@ -1808,23 +1808,6 @@ private:
     RefPtr<ModuleScopeData> m_moduleScopeData;
     DebuggerParseData* m_debuggerParseData;
     CallOrApplyDepthScope* m_callOrApplyDepthScope { nullptr };
-
-    struct DepthManager {
-        DepthManager(int* depth)
-        : m_originalDepth(*depth)
-        , m_depth(depth)
-        {
-        }
-        
-        ~DepthManager()
-        {
-            *m_depth = m_originalDepth;
-        }
-        
-    private:
-        int m_originalDepth;
-        int* m_depth;
-    };
 };