diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h')
-rw-r--r-- | Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h | 17 |
1 files changed, 10 insertions, 7 deletions
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) |