Ignore:
Timestamp:
Sep 22, 2011, 2:55:07 PM (14 years ago)
Author:
[email protected]
Message:

Implement put_scoped_var in the DFG jit
https://bugs.webkit.org/show_bug.cgi?id=68653

Reviewed by Gavin Barraclough.

Naive implementation of put_scoped_var. Same story as the
get_scoped_var implementation, although I've hoisted scope
object acquisition into a separate dfg node. Ideally in the
future we would reuse the resolved scope chain object, but
for now we don't.

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::parseBlock):

  • dfg/DFGCapabilities.h:

(JSC::DFG::canCompileOpcode):

  • dfg/DFGNode.h:

(JSC::DFG::Node::hasScopeChainDepth):
(JSC::DFG::Node::scopeChainDepth):

  • dfg/DFGPropagator.cpp:

(JSC::DFG::Propagator::propagateNodePredictions):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compile):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r95751 r95753  
     12011-09-22  Oliver Hunt  <[email protected]>
     2
     3        Implement put_scoped_var in the DFG jit
     4        https://bugs.webkit.org/show_bug.cgi?id=68653
     5
     6        Reviewed by Gavin Barraclough.
     7
     8        Naive implementation of put_scoped_var.  Same story as the
     9        get_scoped_var implementation, although I've hoisted scope
     10        object acquisition into a separate dfg node.  Ideally in the
     11        future we would reuse the resolved scope chain object, but
     12        for now we don't.
     13
     14        * dfg/DFGByteCodeParser.cpp:
     15        (JSC::DFG::ByteCodeParser::parseBlock):
     16        * dfg/DFGCapabilities.h:
     17        (JSC::DFG::canCompileOpcode):
     18        * dfg/DFGNode.h:
     19        (JSC::DFG::Node::hasScopeChainDepth):
     20        (JSC::DFG::Node::scopeChainDepth):
     21        * dfg/DFGPropagator.cpp:
     22        (JSC::DFG::Propagator::propagateNodePredictions):
     23        * dfg/DFGSpeculativeJIT.cpp:
     24        (JSC::DFG::SpeculativeJIT::compile):
     25
    1262011-09-22  Gavin Barraclough  <[email protected]>
    227
Note: See TracChangeset for help on using the changeset viewer.