Title: [163502] trunk/Source/_javascript_Core
Revision
163502
Author
[email protected]
Date
2014-02-05 18:11:51 -0800 (Wed, 05 Feb 2014)

Log Message

Remove unused functions.

* runtime/RegExpConstructor.cpp:
(JSC::RegExpConstructor::getOwnPropertySlot):
* runtime/RegExpObject.cpp:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (163501 => 163502)


--- trunk/Source/_javascript_Core/ChangeLog	2014-02-06 01:49:06 UTC (rev 163501)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-02-06 02:11:51 UTC (rev 163502)
@@ -1,3 +1,11 @@
+2014-02-05  Anders Carlsson  <[email protected]>
+
+        Remove unused functions.
+
+        * runtime/RegExpConstructor.cpp:
+        (JSC::RegExpConstructor::getOwnPropertySlot):
+        * runtime/RegExpObject.cpp:
+
 2014-02-05  Oliver Hunt  <[email protected]>
 
         Change custom getter signature to make the base reference an object pointer

Modified: trunk/Source/_javascript_Core/runtime/RegExpConstructor.cpp (163501 => 163502)


--- trunk/Source/_javascript_Core/runtime/RegExpConstructor.cpp	2014-02-06 01:49:06 UTC (rev 163501)
+++ trunk/Source/_javascript_Core/runtime/RegExpConstructor.cpp	2014-02-06 02:11:51 UTC (rev 163502)
@@ -157,11 +157,6 @@
 {
     return getStaticValueSlot<RegExpConstructor, InternalFunction>(exec, ExecState::regExpConstructorTable(exec->vm()), jsCast<RegExpConstructor*>(object), propertyName, slot);
 }
-
-static inline RegExpConstructor* asRegExpConstructor(EncodedJSValue value)
-{
-    return jsCast<RegExpConstructor*>(JSValue::decode(value));
-}
     
 EncodedJSValue regExpConstructorDollar1(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)
 {

Modified: trunk/Source/_javascript_Core/runtime/RegExpObject.cpp (163501 => 163502)


--- trunk/Source/_javascript_Core/runtime/RegExpObject.cpp	2014-02-06 01:49:06 UTC (rev 163501)
+++ trunk/Source/_javascript_Core/runtime/RegExpObject.cpp	2014-02-06 02:11:51 UTC (rev 163502)
@@ -155,11 +155,6 @@
     return Base::defineOwnProperty(object, exec, propertyName, descriptor, shouldThrow);
 }
 
-static inline RegExpObject* asRegExpObject(EncodedJSValue value)
-{
-    return jsCast<RegExpObject*>(JSValue::decode(value));
-}
-
 EncodedJSValue regExpObjectGlobal(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName)
 {
     return JSValue::encode(jsBoolean(asRegExpObject(slotBase)->regExp()->global()));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to