Title: [162845] trunk/Source/_javascript_Core
Revision
162845
Author
[email protected]
Date
2014-01-27 10:53:26 -0800 (Mon, 27 Jan 2014)

Log Message

Remove unused CodeBlock::createActivation().
<https://webkit.org/b/127686>

Reviewed by Filip Pizlo.

* bytecode/CodeBlock.cpp:
* bytecode/CodeBlock.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (162844 => 162845)


--- trunk/Source/_javascript_Core/ChangeLog	2014-01-27 17:48:04 UTC (rev 162844)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-01-27 18:53:26 UTC (rev 162845)
@@ -1,3 +1,13 @@
+2014-01-27  Mark Lam  <[email protected]>
+
+        Remove unused CodeBlock::createActivation().
+        <https://webkit.org/b/127686>
+
+        Reviewed by Filip Pizlo.
+
+        * bytecode/CodeBlock.cpp:
+        * bytecode/CodeBlock.h:
+
 2014-01-26  Andreas Kling  <[email protected]>
 
         JSC: Pack unlinked instructions harder.

Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp (162844 => 162845)


--- trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2014-01-27 17:48:04 UTC (rev 162844)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2014-01-27 18:53:26 UTC (rev 162845)
@@ -2612,16 +2612,6 @@
     } // else don't shrink these, because we would have already pointed pointers into these tables.
 }
 
-void CodeBlock::createActivation(CallFrame* callFrame)
-{
-    ASSERT(codeType() == FunctionCode);
-    ASSERT(needsFullScopeChain());
-    ASSERT(!callFrame->uncheckedR(activationRegister().offset()).jsValue());
-    JSActivation* activation = JSActivation::create(callFrame->vm(), callFrame, this);
-    callFrame->uncheckedR(activationRegister().offset()) = JSValue(activation);
-    callFrame->setScope(activation);
-}
-
 unsigned CodeBlock::addOrFindConstant(JSValue v)
 {
     unsigned result;

Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.h (162844 => 162845)


--- trunk/Source/_javascript_Core/bytecode/CodeBlock.h	2014-01-27 17:48:04 UTC (rev 162844)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.h	2014-01-27 18:53:26 UTC (rev 162845)
@@ -393,8 +393,6 @@
     size_t numberOfJumpTargets() const { return m_unlinkedCode->numberOfJumpTargets(); }
     unsigned jumpTarget(int index) const { return m_unlinkedCode->jumpTarget(index); }
 
-    void createActivation(CallFrame*);
-
     void clearEvalCache();
 
     String nameForRegister(VirtualRegister);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to