2008-10-01 Kevin McCullough <kmccullough@apple.com>
authorkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Oct 2008 18:40:57 +0000 (18:40 +0000)
committerkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Oct 2008 18:40:57 +0000 (18:40 +0000)
        Rubberstamped by Geoff .

        Remove BreakpointCheckStatement because it's not used anymore.
        No effect on sunspider or the jsc tests.

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

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

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

index 93c443e..1de6dbd 100644 (file)
@@ -1,3 +1,13 @@
+2008-10-01  Kevin McCullough  <kmccullough@apple.com>
+
+        Rubberstamped by Geoff .
+
+        Remove BreakpointCheckStatement because it's not used anymore.
+        No effect on sunspider or the jsc tests.
+
+        * kjs/nodes.cpp:
+        * kjs/nodes.h:
+
 2008-09-30  Oliver Hunt  <oliver@apple.com>
 
         Reviewed by Geoff Garen.
index b344c30..c767446 100644 (file)
@@ -198,20 +198,6 @@ void SourceElements::append(PassRefPtr<StatementNode> statement)
     m_statements.append(statement);
 }
 
-// ------------------------------ BreakpointCheckStatement --------------------------------
-
-BreakpointCheckStatement::BreakpointCheckStatement(JSGlobalData* globalData, PassRefPtr<StatementNode> statement)
-    : StatementNode(globalData)
-    , m_statement(statement)
-{
-    ASSERT(m_statement);
-}
-
-void BreakpointCheckStatement::streamTo(SourceStream& stream) const
-{
-    m_statement->streamTo(stream);
-}
-
 // ------------------------------ NullNode -------------------------------------
 
 RegisterID* NullNode::emitCode(CodeGenerator& generator, RegisterID* dst)
index d8a39f8..8679b7a 100644 (file)
@@ -2457,16 +2457,6 @@ namespace JSC {
         RefPtr<CaseBlockNode> m_block;
     };
 
-    class BreakpointCheckStatement : public StatementNode {
-    public:
-        BreakpointCheckStatement(JSGlobalData*, PassRefPtr<StatementNode>) JSC_FAST_CALL;
-
-        virtual void streamTo(SourceStream&) const JSC_FAST_CALL;
-
-    private:
-        RefPtr<StatementNode> m_statement;
-    };
-
     struct ElementList {
         ElementNode* head;
         ElementNode* tail;