Changeset 29022 in webkit


Ignore:
Timestamp:
Dec 28, 2007 9:51:32 PM (16 years ago)
Author:
eric@webkit.org
Message:

2007-12-28 Eric Seidel <eric@webkit.org>

Reviewed by Oliver.

ASSERT when debugging via Drosera due to missed var lookup optimization.
http://bugs.webkit.org/show_bug.cgi?id=16634

No test case possible.

  • kjs/nodes.cpp: (KJS::BreakpointCheckStatement::optimizeVariableAccess):
  • kjs/nodes.h:
Location:
trunk/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r29020 r29022  
     12007-12-28  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Oliver.
     4
     5        ASSERT when debugging via Drosera due to missed var lookup optimization.
     6        http://bugs.webkit.org/show_bug.cgi?id=16634
     7       
     8        No test case possible.
     9
     10        * kjs/nodes.cpp:
     11        (KJS::BreakpointCheckStatement::optimizeVariableAccess):
     12        * kjs/nodes.h:
     13
    1142007-12-28  Eric Seidel  <eric@webkit.org>
    215
     
    619        Fix (-0).toExponential() and printing of trailing 0s in toExponential
    720        Fix toPrecision(nan) handling
     21        http://bugs.webkit.org/show_bug.cgi?id=16640
    822
    923        * kjs/number_object.cpp:
  • trunk/JavaScriptCore/kjs/nodes.cpp

    r29005 r29022  
    409409{
    410410    m_statement->streamTo(stream);
     411}
     412
     413void BreakpointCheckStatement::optimizeVariableAccess(SymbolTable&, DeclarationStacks::NodeStack& nodeStack)
     414{
     415    nodeStack.append(m_statement.get());
    411416}
    412417
  • trunk/JavaScriptCore/kjs/nodes.h

    r28973 r29022  
    21042104        virtual JSValue* execute(ExecState*) KJS_FAST_CALL;
    21052105        virtual void streamTo(SourceStream&) const KJS_FAST_CALL;
     2106        virtual void optimizeVariableAccess(SymbolTable&, DeclarationStacks::NodeStack&) KJS_FAST_CALL;
    21062107    private:
    21072108        RefPtr<StatementNode> m_statement;
Note: See TracChangeset for help on using the changeset viewer.