Title: [134856] trunk/Source/_javascript_Core
Revision
134856
Author
[email protected]
Date
2012-11-15 16:37:58 -0800 (Thu, 15 Nov 2012)

Log Message

Remove methodCallDummy since it is not used anymore.

Rubber stamped by Mark Hahnenberg.

* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::reset):
(JSC):
(JSC::JSGlobalObject::visitChildren):
* runtime/JSGlobalObject.h:
(JSGlobalObject):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (134855 => 134856)


--- trunk/Source/_javascript_Core/ChangeLog	2012-11-16 00:30:14 UTC (rev 134855)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-11-16 00:37:58 UTC (rev 134856)
@@ -1,3 +1,16 @@
+2012-11-15  Filip Pizlo  <[email protected]>
+
+        Remove methodCallDummy since it is not used anymore.
+
+        Rubber stamped by Mark Hahnenberg.
+
+        * runtime/JSGlobalObject.cpp:
+        (JSC::JSGlobalObject::reset):
+        (JSC):
+        (JSC::JSGlobalObject::visitChildren):
+        * runtime/JSGlobalObject.h:
+        (JSGlobalObject):
+
 2012-11-14  Filip Pizlo  <[email protected]>
 
         Structure should be able to easily tell if the prototype chain might intercept a store

Modified: trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp (134855 => 134856)


--- trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp	2012-11-16 00:30:14 UTC (rev 134855)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp	2012-11-16 00:37:58 UTC (rev 134856)
@@ -259,8 +259,6 @@
     m_regExpPrototype.set(exec->globalData(), this, RegExpPrototype::create(exec, this, RegExpPrototype::createStructure(exec->globalData(), this, m_objectPrototype.get()), emptyRegex));
     m_regExpStructure.set(exec->globalData(), this, RegExpObject::createStructure(exec->globalData(), this, m_regExpPrototype.get()));
 
-    m_methodCallDummy.set(exec->globalData(), this, constructEmptyObject(exec));
-
     m_errorPrototype.set(exec->globalData(), this, ErrorPrototype::create(exec, this, ErrorPrototype::createStructure(exec->globalData(), this, m_objectPrototype.get())));
     m_errorStructure.set(exec->globalData(), this, ErrorInstance::createStructure(exec->globalData(), this, m_errorPrototype.get()));
 
@@ -474,7 +472,6 @@
     Base::visitChildren(thisObject, visitor);
 
     visitor.append(&thisObject->m_globalThis);
-    visitor.append(&thisObject->m_methodCallDummy);
 
     visitor.append(&thisObject->m_regExpConstructor);
     visitor.append(&thisObject->m_errorConstructor);

Modified: trunk/Source/_javascript_Core/runtime/JSGlobalObject.h (134855 => 134856)


--- trunk/Source/_javascript_Core/runtime/JSGlobalObject.h	2012-11-16 00:30:14 UTC (rev 134855)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalObject.h	2012-11-16 00:37:58 UTC (rev 134856)
@@ -100,7 +100,6 @@
         Register m_globalCallFrame[JSStack::CallFrameHeaderSize];
 
         WriteBarrier<JSObject> m_globalThis;
-        WriteBarrier<JSObject> m_methodCallDummy;
 
         WriteBarrier<RegExpConstructor> m_regExpConstructor;
         WriteBarrier<ErrorConstructor> m_errorConstructor;
@@ -272,8 +271,6 @@
         RegExpPrototype* regExpPrototype() const { return m_regExpPrototype.get(); }
         ErrorPrototype* errorPrototype() const { return m_errorPrototype.get(); }
 
-        JSObject* methodCallDummy() const { return m_methodCallDummy.get(); }
-
         Structure* withScopeStructure() const { return m_withScopeStructure.get(); }
         Structure* strictEvalActivationStructure() const { return m_strictEvalActivationStructure.get(); }
         Structure* activationStructure() const { return m_activationStructure.get(); }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to