From a4e969f4965059196ca948db781e52f7cfebf19e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 24 May 2016 08:28:08 +0000 Subject: webkitgtk-2.12.3 --- Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h') diff --git a/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h b/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h index dbbb93fa2..324627f6c 100644 --- a/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h +++ b/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h @@ -26,8 +26,6 @@ #ifndef JSJavaScriptCallFrame_h #define JSJavaScriptCallFrame_h -#if ENABLE(INSPECTOR) - #include "JSDestructibleObject.h" #include "JavaScriptCallFrame.h" @@ -36,6 +34,7 @@ namespace Inspector { class JSJavaScriptCallFrame : public JSC::JSDestructibleObject { public: typedef JSC::JSDestructibleObject Base; + static const unsigned StructureFlags = Base::StructureFlags; DECLARE_INFO; @@ -73,14 +72,14 @@ public: // Constants. static const unsigned short GLOBAL_SCOPE = 0; - static const unsigned short LOCAL_SCOPE = 1; - static const unsigned short WITH_SCOPE = 2; - static const unsigned short CLOSURE_SCOPE = 3; - static const unsigned short CATCH_SCOPE = 4; + static const unsigned short WITH_SCOPE = 1; + static const unsigned short CLOSURE_SCOPE = 2; + static const unsigned short CATCH_SCOPE = 3; + static const unsigned short FUNCTION_NAME_SCOPE = 4; + static const unsigned short GLOBAL_LEXICAL_ENVIRONMENT_SCOPE = 5; + static const unsigned short NESTED_LEXICAL_SCOPE = 6; protected: - static const unsigned StructureFlags = Base::StructureFlags; - void finishCreation(JSC::VM&); private: @@ -95,6 +94,4 @@ JSJavaScriptCallFrame* toJSJavaScriptCallFrame(JSC::JSValue); } // namespace Inspector -#endif // ENABLE(INSPECTOR) - #endif // !defined(JSJavaScriptCallFrame_h) -- cgit v1.2.1