Commit aaa1a0a4 authored by ggaren@apple.com's avatar ggaren@apple.com

Removed an unused function: JSGlobalObject::createFunctionExecutableFromGlobalCode

https://bugs.webkit.org/show_bug.cgi?id=108657

Reviewed by Anders Carlsson.

* runtime/JSGlobalObject.cpp:
(JSC):
* runtime/JSGlobalObject.h:
(JSGlobalObject):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 29e7ad27
2013-02-01 Geoffrey Garen <ggaren@apple.com>
Removed an unused function: JSGlobalObject::createFunctionExecutableFromGlobalCode
https://bugs.webkit.org/show_bug.cgi?id=108657
Reviewed by Anders Carlsson.
* runtime/JSGlobalObject.cpp:
(JSC):
* runtime/JSGlobalObject.h:
(JSGlobalObject):
2013-02-01 Geoffrey Garen <ggaren@apple.com>
Added TriState to WTF and started using it in one place
......
......@@ -633,20 +633,4 @@ UnlinkedEvalCodeBlock* JSGlobalObject::createEvalCodeBlock(CallFrame* callFrame,
return unlinkedCode;
}
UnlinkedFunctionExecutable* JSGlobalObject::createFunctionExecutableFromGlobalCode(CallFrame* callFrame, const Identifier& name, const SourceCode& code, JSObject** exception)
{
ParserError error;
UnlinkedFunctionExecutable* executable = globalData().codeCache()->getFunctionExecutableFromGlobalCode(globalData(), name, code, error);
if (hasDebugger())
debugger()->sourceParsed(callFrame, code.provider(), error.m_line, error.m_message);
if (error.m_type != ParserError::ErrorNone) {
*exception = error.toErrorObject(this, code);
return 0;
}
return executable;
}
} // namespace JSC
......@@ -392,7 +392,6 @@ namespace JSC {
UnlinkedProgramCodeBlock* createProgramCodeBlock(CallFrame*, ProgramExecutable*, JSObject** exception);
UnlinkedEvalCodeBlock* createEvalCodeBlock(CallFrame*, EvalExecutable*, JSObject** exception);
UnlinkedFunctionExecutable* createFunctionExecutableFromGlobalCode(CallFrame*, const Identifier&, const SourceCode&, JSObject** exception);
protected:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment