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

2013-03-27 Geoffrey Garen <ggaren@apple.com>

        Unreviewed build fix: Removed a dead field.

        * dfg/DFGByteCodeParser.cpp:
        (JSC::DFG::ByteCodeParser::ByteCodeParser):
        (ByteCodeParser):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0f890fda
2013-03-27 Geoffrey Garen <ggaren@apple.com>
Unreviewed build fix: Removed a dead field.
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::ByteCodeParser):
(ByteCodeParser):
2013-03-27 Geoffrey Garen <ggaren@apple.com> 2013-03-27 Geoffrey Garen <ggaren@apple.com>
Removed some dead code in the DFG bytecode parser Removed some dead code in the DFG bytecode parser
......
...@@ -121,9 +121,8 @@ namespace JSC { namespace DFG { ...@@ -121,9 +121,8 @@ namespace JSC { namespace DFG {
// This class is used to compile the dataflow graph from a CodeBlock. // This class is used to compile the dataflow graph from a CodeBlock.
class ByteCodeParser { class ByteCodeParser {
public: public:
ByteCodeParser(ExecState* exec, Graph& graph) ByteCodeParser(Graph& graph)
: m_exec(exec) : m_globalData(&graph.m_globalData)
, m_globalData(&graph.m_globalData)
, m_codeBlock(graph.m_codeBlock) , m_codeBlock(graph.m_codeBlock)
, m_profiledBlock(graph.m_profiledBlock) , m_profiledBlock(graph.m_profiledBlock)
, m_graph(graph) , m_graph(graph)
...@@ -944,7 +943,6 @@ private: ...@@ -944,7 +943,6 @@ private:
void buildOperandMapsIfNecessary(); void buildOperandMapsIfNecessary();
ExecState* m_exec;
JSGlobalData* m_globalData; JSGlobalData* m_globalData;
CodeBlock* m_codeBlock; CodeBlock* m_codeBlock;
CodeBlock* m_profiledBlock; CodeBlock* m_profiledBlock;
...@@ -3756,7 +3754,7 @@ bool ByteCodeParser::parse() ...@@ -3756,7 +3754,7 @@ bool ByteCodeParser::parse()
return true; return true;
} }
bool parse(ExecState* exec, Graph& graph) bool parse(ExecState*, Graph& graph)
{ {
SamplingRegion samplingRegion("DFG Parsing"); SamplingRegion samplingRegion("DFG Parsing");
#if DFG_DEBUG_LOCAL_DISBALE #if DFG_DEBUG_LOCAL_DISBALE
...@@ -3764,7 +3762,7 @@ bool parse(ExecState* exec, Graph& graph) ...@@ -3764,7 +3762,7 @@ bool parse(ExecState* exec, Graph& graph)
UNUSED_PARAM(graph); UNUSED_PARAM(graph);
return false; return false;
#else #else
return ByteCodeParser(exec, graph).parse(); return ByteCodeParser(graph).parse();
#endif #endif
} }
......
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