Commit f064af60 authored by cwzwarich@webkit.org's avatar cwzwarich@webkit.org

2008-06-20 Cameron Zwarich <cwzwarich@uwaterloo.ca>

        Reviewed by Oliver.

        Remove unused destructors.

        * kjs/nodes.cpp:
        * kjs/nodes.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e99936a5
2008-06-20 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Oliver.
Remove unused destructors.
* kjs/nodes.cpp:
* kjs/nodes.h:
2008-06-20 Timothy Hatcher <timothy@apple.com>
Fixed an ASSERT(m_actualSelfTime <= m_actualTotalTime) when starting
......
......@@ -1549,10 +1549,6 @@ ProgramNode::ProgramNode(SourceElements* children, VarStack* varStack, FunctionS
{
}
ProgramNode::~ProgramNode()
{
}
ProgramNode* ProgramNode::create(SourceElements* children, VarStack* varStack, FunctionStack* funcStack, bool usesEval, bool needsClosure)
{
return new ProgramNode(children, varStack, funcStack, usesEval, needsClosure);
......@@ -1565,10 +1561,6 @@ EvalNode::EvalNode(SourceElements* children, VarStack* varStack, FunctionStack*
{
}
EvalNode::~EvalNode()
{
}
RegisterID* EvalNode::emitCode(CodeGenerator& generator, RegisterID*)
{
generator.emitDebugHook(WillExecuteProgram, firstLine(), lastLine());
......@@ -1607,10 +1599,6 @@ FunctionBodyNode::FunctionBodyNode(SourceElements* children, VarStack* varStack,
{
}
FunctionBodyNode::~FunctionBodyNode()
{
}
void FunctionBodyNode::mark()
{
if (m_code)
......
......@@ -2152,8 +2152,7 @@ namespace KJS {
class ProgramNode : public ScopeNode {
public:
static ProgramNode* create(SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure) KJS_FAST_CALL;
virtual ~ProgramNode();
ProgramCodeBlock& code(ScopeChainNode* scopeChain, bool canCreateGlobals) KJS_FAST_CALL
{
if (!m_code)
......@@ -2176,8 +2175,7 @@ namespace KJS {
class EvalNode : public ScopeNode {
public:
static EvalNode* create(SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure) KJS_FAST_CALL;
virtual ~EvalNode();
EvalCodeBlock& code(ScopeChainNode* scopeChain) KJS_FAST_CALL
{
if (!m_code)
......@@ -2197,8 +2195,7 @@ namespace KJS {
class FunctionBodyNode : public ScopeNode {
public:
static FunctionBodyNode* create(SourceElements*, VarStack*, FunctionStack*, bool usesEval, bool needsClosure) KJS_FAST_CALL;
virtual ~FunctionBodyNode();
Vector<Identifier>& parameters() KJS_FAST_CALL { return m_parameters; }
UString paramString() const KJS_FAST_CALL;
......
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