From 32761a6cee1d0dee366b885b7b9c777e67885688 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Sun, 10 Apr 2016 09:28:39 +0000 Subject: webkitgtk-2.4.11 --- Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h') diff --git a/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h b/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h index 324627f6c..dbbb93fa2 100644 --- a/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h +++ b/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h @@ -26,6 +26,8 @@ #ifndef JSJavaScriptCallFrame_h #define JSJavaScriptCallFrame_h +#if ENABLE(INSPECTOR) + #include "JSDestructibleObject.h" #include "JavaScriptCallFrame.h" @@ -34,7 +36,6 @@ namespace Inspector { class JSJavaScriptCallFrame : public JSC::JSDestructibleObject { public: typedef JSC::JSDestructibleObject Base; - static const unsigned StructureFlags = Base::StructureFlags; DECLARE_INFO; @@ -72,14 +73,14 @@ public: // Constants. static const unsigned short GLOBAL_SCOPE = 0; - 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; + 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; protected: + static const unsigned StructureFlags = Base::StructureFlags; + void finishCreation(JSC::VM&); private: @@ -94,4 +95,6 @@ JSJavaScriptCallFrame* toJSJavaScriptCallFrame(JSC::JSValue); } // namespace Inspector +#endif // ENABLE(INSPECTOR) + #endif // !defined(JSJavaScriptCallFrame_h) -- cgit v1.2.1