diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-05-24 08:28:08 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-05-24 08:28:08 +0000 |
commit | a4e969f4965059196ca948db781e52f7cfebf19e (patch) | |
tree | 6ca352808c8fdc52006a0f33f6ae3c593b23867d /Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h | |
parent | 41386e9cb918eed93b3f13648cbef387e371e451 (diff) | |
download | WebKitGtk-tarball-a4e969f4965059196ca948db781e52f7cfebf19e.tar.gz |
webkitgtk-2.12.3webkitgtk-2.12.3
Diffstat (limited to 'Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h')
-rw-r--r-- | Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h | 17 |
1 files changed, 7 insertions, 10 deletions
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) |