X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Source%2FJavaScriptCore%2Fruntime%2FFunctionConstructor.h;h=a8acf1a42d5065566d4dfec7b851735de8e2644f;hb=b96e33af77ac7d81a666d5aa202235b793aeeb21;hp=0a737fb45d0185087c132590f0980620e0682afd;hpb=2632619e54bc9f41ccea7c574710fe213e49212d;p=framework%2Fweb%2Fwebkit-efl.git diff --git a/Source/JavaScriptCore/runtime/FunctionConstructor.h b/Source/JavaScriptCore/runtime/FunctionConstructor.h index 0a737fb..a8acf1a 100755 --- a/Source/JavaScriptCore/runtime/FunctionConstructor.h +++ b/Source/JavaScriptCore/runtime/FunctionConstructor.h @@ -23,6 +23,10 @@ #include "InternalFunction.h" +namespace WTF { +class TextPosition; +} + namespace JSC { class FunctionPrototype; @@ -48,15 +52,14 @@ namespace JSC { private: FunctionConstructor(JSGlobalObject*, Structure*); void finishCreation(ExecState*, FunctionPrototype*); - virtual ConstructType getConstructDataVirtual(ConstructData&); static ConstructType getConstructData(JSCell*, ConstructData&); static CallType getCallData(JSCell*, CallData&); }; - JSObject* constructFunction(ExecState*, JSGlobalObject*, const ArgList&, const Identifier& functionName, const UString& sourceURL, int lineNumber); + JSObject* constructFunction(ExecState*, JSGlobalObject*, const ArgList&, const Identifier& functionName, const UString& sourceURL, const WTF::TextPosition&); JSObject* constructFunction(ExecState*, JSGlobalObject*, const ArgList&); - JSObject* constructFunctionSkippingEvalEnabledCheck(ExecState*, JSGlobalObject*, const ArgList&, const Identifier&, const UString&, int lineNumber); + JSObject* constructFunctionSkippingEvalEnabledCheck(ExecState*, JSGlobalObject*, const ArgList&, const Identifier&, const UString&, const WTF::TextPosition&); } // namespace JSC