diff options
Diffstat (limited to 'Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h')
-rw-r--r-- | Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h b/Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h index b77c06ebf..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; @@ -76,9 +77,10 @@ public: 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 FUNCTION_NAME_SCOPE = 5; protected: + static const unsigned StructureFlags = Base::StructureFlags; + void finishCreation(JSC::VM&); private: @@ -93,4 +95,6 @@ JSJavaScriptCallFrame* toJSJavaScriptCallFrame(JSC::JSValue); } // namespace Inspector +#endif // ENABLE(INSPECTOR) + #endif // !defined(JSJavaScriptCallFrame_h) |