2008-06-20 Cameron Zwarich <cwzwarich@uwaterloo.ca>
authorcwzwarich@webkit.org <cwzwarich@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jun 2008 06:32:25 +0000 (06:32 +0000)
committercwzwarich@webkit.org <cwzwarich@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jun 2008 06:32:25 +0000 (06:32 +0000)
        Reviewed by Oliver.

        Remove unused destructors.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34711 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/nodes.cpp
JavaScriptCore/kjs/nodes.h

index 6621146..3f49321 100644 (file)
@@ -1,3 +1,12 @@
+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
index e1c39a3..6a33698 100644 (file)
@@ -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)
index e8537aa..712aed7 100644 (file)
@@ -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;