Title: [198705] trunk/Source/_javascript_Core
Revision
198705
Author
[email protected]
Date
2016-03-25 18:12:59 -0700 (Fri, 25 Mar 2016)

Log Message

RegExp.prototype.test should be an intrinsic again
https://bugs.webkit.org/show_bug.cgi?id=155861

Reviewed by Yusuke Suzuki.

* runtime/RegExpPrototype.cpp:
(JSC::RegExpPrototype::finishCreation):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (198704 => 198705)


--- trunk/Source/_javascript_Core/ChangeLog	2016-03-26 00:50:51 UTC (rev 198704)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-03-26 01:12:59 UTC (rev 198705)
@@ -1,3 +1,13 @@
+2016-03-25  Saam barati  <[email protected]>
+
+        RegExp.prototype.test should be an intrinsic again
+        https://bugs.webkit.org/show_bug.cgi?id=155861
+
+        Reviewed by Yusuke Suzuki.
+
+        * runtime/RegExpPrototype.cpp:
+        (JSC::RegExpPrototype::finishCreation):
+
 2016-03-25  Mark Lam  <[email protected]>
 
         ES6's throwing of TypeErrors on access of RegExp.prototype flag properties breaks websites.

Modified: trunk/Source/_javascript_Core/runtime/RegExpPrototype.cpp (198704 => 198705)


--- trunk/Source/_javascript_Core/runtime/RegExpPrototype.cpp	2016-03-26 00:50:51 UTC (rev 198704)
+++ trunk/Source/_javascript_Core/runtime/RegExpPrototype.cpp	2016-03-26 01:12:59 UTC (rev 198705)
@@ -69,7 +69,7 @@
     Base::finishCreation(vm);
     ASSERT(inherits(info()));
     JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->compile, regExpProtoFuncCompile, DontEnum, 2);
-    JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->test, regExpProtoFuncTest, DontEnum, 1);
+    JSC_NATIVE_INTRINSIC_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->test, regExpProtoFuncTest, DontEnum, 1, RegExpTestIntrinsic);
     JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->toString, regExpProtoFuncToString, DontEnum, 0);
     JSC_NATIVE_GETTER(vm.propertyNames->global, regExpProtoGetterGlobal, DontEnum | Accessor);
     JSC_NATIVE_GETTER(vm.propertyNames->ignoreCase, regExpProtoGetterIgnoreCase, DontEnum | Accessor);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to