From 41386e9cb918eed93b3f13648cbef387e371e451 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 20 May 2015 09:56:07 +0000 Subject: webkitgtk-2.4.9 --- Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h') 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) -- cgit v1.2.1